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

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

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

Details about a SKU charging a flat subscription fee.

Inheritance

object > Sku.Types.SkuPrice.Types.FlatSubscriptionFee

Namespace

Google.Cloud.CommerceProducer.V1Beta

Assembly

Google.Cloud.CommerceProducer.V1Beta.dll

Constructors

FlatSubscriptionFee()

public FlatSubscriptionFee()

FlatSubscriptionFee(FlatSubscriptionFee)

public FlatSubscriptionFee(Sku.Types.SkuPrice.Types.FlatSubscriptionFee other)
Parameter
Name Description
other SkuTypesSkuPriceTypesFlatSubscriptionFee

Properties

PricePerUnit

public Money PricePerUnit { get; set; }

Output only. The price per time unit the subscription is active.

Property Value
Type Description
Money

PriceStructureCase

public Sku.Types.SkuPrice.Types.FlatSubscriptionFee.PriceStructureOneofCase PriceStructureCase { get; }
Property Value
Type Description
SkuTypesSkuPriceTypesFlatSubscriptionFeePriceStructureOneofCase

Unit

public string Unit { get; set; }

Output only. The unit of the subscription SKU. See https://ucum.org/ucum.html for the format of the price unit. Since subscriptions are billed by duration, this will always be a time unit. The price unit of a subscription SKU is not necessarily the same as the subscription period of the corresponding StandardOffers.

Currently the unit is always months ('mo'). Additional time units may be supported in future.

The unit month ('mo') is a customary time unit and requires special handling to account for the variable duration of months. A price may be denominated in units of months, but the duration the subscription is active is measured in metric time and customers are billed on that basis. The exact hourly or per-second price can be calculated by dividing the monthly price by the number of hours or seconds in the desired month. A subscription active for N months is rarely billed exactly N times the monthly price. This is intended and is not a billing error.

Property Value
Type Description
string