Cloud Commerce Producer v1beta API - Class StandardOffer (1.0.0-beta01)

public sealed class StandardOffer : IMessage<StandardOffer>, IEquatable<StandardOffer>, IDeepCloneable<StandardOffer>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Commerce Producer v1beta API class StandardOffer.

Message describing the StandardOffer resource.

Inheritance

object > StandardOffer

Namespace

Google.Cloud.CommerceProducer.V1Beta

Assembly

Google.Cloud.CommerceProducer.V1Beta.dll

Constructors

StandardOffer()

public StandardOffer()

StandardOffer(StandardOffer)

public StandardOffer(StandardOffer other)
Parameter
Name Description
other StandardOffer

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Creation time of the offer.

Property Value
Type Description
Timestamp

EffectiveTime

public Timestamp EffectiveTime { get; set; }

Output only. Effective time of the offer. Prior to this time, the offer cannot be purchased or used as the base standard offer of a private offer.

Property Value
Type Description
Timestamp

ExpireTime

public Timestamp ExpireTime { get; set; }

Output only. Expire time of the offer. An offer is expired if its expire time is in the past. An expired standard offer cannot be purchased or used as the base standard offer of a private offer.

Property Value
Type Description
Timestamp

HasTermDurationMonths

public bool HasTermDurationMonths { get; }

Gets whether the "term_duration_months" field is set

Property Value
Type Description
bool

Name

public string Name { get; set; }

Identifier. Name of resource.

Property Value
Type Description
string

PriceModel

public StandardOffer.Types.PriceModel PriceModel { get; set; }

Output only. Price model of the offer.

Property Value
Type Description
StandardOfferTypesPriceModel

ServiceLevel

public string ServiceLevel { get; set; }

Output only. Identifier that distinguishes between different service levels of the same product that constitute distinct offerings to customers with different pricing.

The service levels of a product are also referred to in some cases as the product's 'plans', and the service_level value is referred to in some cases as the "plan ID".

Multiple non-expired standard offers can share the same service level when they are subscription offers for different term durations.

Property Value
Type Description
string

ServiceLevelTitle

public string ServiceLevelTitle { get; set; }

Output only. Title of the service level.

Not included for STANDARD_OFFER_VIEW_BASIC.

Property Value
Type Description
string

StandardOfferName

public StandardOfferName StandardOfferName { get; set; }

StandardOfferName-typed view over the Name resource name property.

Property Value
Type Description
StandardOfferName

TermCase

public StandardOffer.TermOneofCase TermCase { get; }
Property Value
Type Description
StandardOfferTermOneofCase

TermDurationMonths

public int TermDurationMonths { get; set; }

Output only. Term duration of the offer in months. Applicable only to offers with a subscription price model. Additional forms of offer term may be added in the future.

Property Value
Type Description
int

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Last update time of the offer.

Property Value
Type Description
Timestamp