Cloud Commerce Consumer Procurement v1 API - Class Subscription (1.1.0)

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

Reference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class Subscription.

Subscription information.

Inheritance

object > Subscription

Namespace

Google.Cloud.Commerce.Consumer.Procurement.V1

Assembly

Google.Cloud.Commerce.Consumer.Procurement.V1.dll

Constructors

Subscription()

public Subscription()

Subscription(Subscription)

public Subscription(Subscription other)
Parameter
NameDescription
otherSubscription

Properties

AutoRenewalEnabled

public bool AutoRenewalEnabled { get; set; }

Whether auto renewal is enabled by user choice on current subscription. This field indicates order/subscription status after pending plan change is cancelled or rejected.

Property Value
TypeDescription
bool

EndTime

public Timestamp EndTime { get; set; }

The timestamp when the subscription ends, if applicable.

Property Value
TypeDescription
Timestamp

StartTime

public Timestamp StartTime { get; set; }

The timestamp when the subscription begins, if applicable.

Property Value
TypeDescription
Timestamp