1.6.0 (latest) 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.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](https://learn.microsoft.com/dotnet/api/system.object) \> Subscription

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Subscription](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.Subscription.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Subscription](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.Subscription.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Subscription](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.Subscription.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Commerce.Consumer.Procurement.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.md.txt)

## 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` |   |