Reference documentation and code samples for the Cloud Commerce Producer V1BETA API class Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::TieredPrice::PriceTier.
A price tier pricing metric usage within a range.
Each marginal unit of usage is priced according to the price tier in which it falls.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#price
def price() -> ::Google::Type::Money
Returns
-
(::Google::Type::Money) — Output only. The price per
price_unit_countofunitin the tier. The price is applied fractionally if the customer's usage within the tier is not an integer multiple ofprice_unit_count.
#start_amount
def start_amount() -> ::Google::Type::Decimal
Returns
-
(::Google::Type::Decimal) — Output only. Inclusive lower bound of the tier interval, denominated
in
unit.