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.
Implements
IMessageSubscription, IEquatableSubscription, IDeepCloneableSubscription, IBufferMessage, IMessageNamespace
Google.Cloud.Commerce.Consumer.Procurement.V1Assembly
Google.Cloud.Commerce.Consumer.Procurement.V1.dll
Constructors
Subscription()
public Subscription()
Subscription(Subscription)
public Subscription(Subscription other)
Parameter | |
---|---|
Name | Description |
other | Subscription |
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 | |
---|---|
Type | Description |
bool |
EndTime
public Timestamp EndTime { get; set; }
The timestamp when the subscription ends, if applicable.
Property Value | |
---|---|
Type | Description |
Timestamp |
StartTime
public Timestamp StartTime { get; set; }
The timestamp when the subscription begins, if applicable.
Property Value | |
---|---|
Type | Description |
Timestamp |