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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSubscription\u003c/code\u003e class in the Google Cloud Commerce Consumer Procurement v1 API provides information about a subscription and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eSubscription\u003c/code\u003e class is 1.4.0, and there are also previous versions available, ranging from 1.0.0 to 1.3.0, which the documentation references.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubscription\u003c/code\u003e class includes properties such as \u003ccode\u003eAutoRenewalEnabled\u003c/code\u003e, which indicates whether auto-renewal is enabled, and \u003ccode\u003eEndTime\u003c/code\u003e and \u003ccode\u003eStartTime\u003c/code\u003e, which specify the subscription's duration.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubscription\u003c/code\u003e class can be initialized using the default constructor or another constructor that receives another \u003ccode\u003eSubscription\u003c/code\u003e object, for which the parameter \u003ccode\u003eother\u003c/code\u003e of type \u003ccode\u003eSubscription\u003c/code\u003e is used to initialize the object.\u003c/p\u003e\n"]]],[],null,["# Cloud Commerce Consumer Procurement v1 API - Class Subscription (1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.Subscription)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.4.0/Google.Cloud.Commerce.Consumer.Procurement.V1.Subscription)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.3.0/Google.Cloud.Commerce.Consumer.Procurement.V1.Subscription)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.2.0/Google.Cloud.Commerce.Consumer.Procurement.V1.Subscription)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.1.0/Google.Cloud.Commerce.Consumer.Procurement.V1.Subscription)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.0.0/Google.Cloud.Commerce.Consumer.Procurement.V1.Subscription) \n\n public sealed class Subscription : IMessage\u003cSubscription\u003e, IEquatable\u003cSubscription\u003e, IDeepCloneable\u003cSubscription\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class Subscription.\n\nSubscription information. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Subscription \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Subscription](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.Subscription), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Subscription](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.Subscription), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Subscription](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.Subscription), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Commerce.Consumer.Procurement.V1](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Commerce.Consumer.Procurement.V1.dll\n\nConstructors\n------------\n\n### Subscription()\n\n public Subscription()\n\n### Subscription(Subscription)\n\n public Subscription(Subscription other)\n\nProperties\n----------\n\n### AutoRenewalEnabled\n\n public bool AutoRenewalEnabled { get; set; }\n\nWhether auto renewal is enabled by user choice on current subscription.\nThis field indicates order/subscription status after pending plan change is\ncancelled or rejected.\n\n### EndTime\n\n public Timestamp EndTime { get; set; }\n\nThe timestamp when the subscription ends, if applicable.\n\n### StartTime\n\n public Timestamp StartTime { get; set; }\n\nThe timestamp when the subscription begins, if applicable."]]