Cloud Commerce Consumer Procurement v1 API - Class Subscription (1.3.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
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