Cloud Commerce Producer V1BETA API - Class Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::TieredPrice::PriceTier (v0.1.0)

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_count of unit in the tier. The price is applied fractionally if the customer's usage within the tier is not an integer multiple of price_unit_count.

#start_amount

def start_amount() -> ::Google::Type::Decimal
Returns