Cloud Commerce Producer v1beta API - Class Sku.Types.SkuPrice.Types.TieredPrice (1.0.0-beta01)

public sealed class Sku.Types.SkuPrice.Types.TieredPrice : IMessage<Sku.Types.SkuPrice.Types.TieredPrice>, IEquatable<Sku.Types.SkuPrice.Types.TieredPrice>, IDeepCloneable<Sku.Types.SkuPrice.Types.TieredPrice>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Commerce Producer v1beta API class Sku.Types.SkuPrice.Types.TieredPrice.

Price structure for a SKU charging a tiered price.

Inheritance

object > Sku.Types.SkuPrice.Types.TieredPrice

Namespace

Google.Cloud.CommerceProducer.V1Beta

Assembly

Google.Cloud.CommerceProducer.V1Beta.dll

Constructors

TieredPrice()

public TieredPrice()

TieredPrice(TieredPrice)

public TieredPrice(Sku.Types.SkuPrice.Types.TieredPrice other)
Parameter
Name Description
other SkuTypesSkuPriceTypesTieredPrice

Properties

PriceTiers

public RepeatedField<Sku.Types.SkuPrice.Types.TieredPrice.Types.PriceTier> PriceTiers { get; }

Output only. The list of price tiers for the SKU, ordered by the start_amount.

The tiers are non-overlapping and are collectively bounded below by zero and unbounded above to cover the entire range of possible metric usage. Each tier is bounded below inclusively by its start_amount and bounded above exclusively by the start_amount of the next tier, or else unbounded above if there is no next tier.

Usage of the metric is aggregated by customer billing account on a monthly basis and billed in a graduated manner according to the price tiers, with each marginal unit of usage priced accoring to the tier in which it falls.

Property Value
Type Description
RepeatedFieldSkuTypesSkuPriceTypesTieredPriceTypesPriceTier

PriceUnitCount

public Decimal PriceUnitCount { get; set; }

Output only. Scaling the unit by the price_unit_count forms the composite "price unit" which is priced by the price tiers.

This scaling factor is in addition to any numerical prefix symbol on the unit, so the same composite "price unit" can be represented in several ways, differing only in their presentation to users.

Examples:

  • $1 per 1 bytes : unit = By, price_unit_count = 1
  • $1000 per 1 kilobytes : unit = kBy, price_unit_count = 1
  • $5000 per 5 kilobytes : unit = kBy, price_unit_count = 5
Property Value
Type Description
Decimal

Unit

public string Unit { get; set; }

Output only. Usage unit used for defining price tiers and for scaling with the price_unit_count to form the composite price unit.

See https://ucum.org/ucum.html for the format of the price unit. A unitless dimension, such as a count, is represented as 1.

Property Value
Type Description
string

UnitDescription

public string UnitDescription { get; set; }

Output only. The display description of the unit, supplied at time of onboarding. This value is recommended to be set at least for dimensionless metrics, but may be empty if no description was provided at time of onboarding.

Property Value
Type Description
string