Class ChangePlanRequest
JSON template for the ChangePlan rpc request.
Implements
Inherited Members
Namespace: Google.Apis.Reseller.v1.Data
Assembly: Google.Apis.Reseller.v1.dll
Syntax
public class ChangePlanRequest : IDirectResponseSchema
Properties
DealCode
Google-issued code (100 char max) for discounted pricing on subscription plans. Deal code must be included
in changePlan
request in order to receive discounted rate. This property is optional. If a deal code has
already been added to a subscription, this property may be left empty and the existing discounted rate will
still apply (if not empty, only provide the deal code that is already present on the subscription). If a
deal code has never been added to a subscription and this property is left blank, regular pricing will
apply.
Declaration
[JsonProperty("dealCode")]
public virtual string DealCode { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Identifies the resource as a subscription change plan request. Value: subscriptions#changePlanRequest
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
PlanName
The planName
property is required. This is the name of the subscription's payment plan. For more
information about the Google payment plans, see API concepts. Possible values are: - ANNUAL_MONTHLY_PAY
-
The annual commitment plan with monthly payments *Caution: *ANNUAL_MONTHLY_PAY
is returned as ANNUAL
in
all API responses. - ANNUAL_YEARLY_PAY
- The annual commitment plan with yearly payments - FLEXIBLE
-
The flexible plan - TRIAL
- The 30-day free trial plan
Declaration
[JsonProperty("planName")]
public virtual string PlanName { get; set; }
Property Value
Type | Description |
---|---|
string |
PurchaseOrderId
This is an optional property. This purchase order (PO) information is for resellers to use for their company
tracking usage. If a purchaseOrderId
value is given it appears in the API responses and shows up in the
invoice. The property accepts up to 80 plain text characters.
Declaration
[JsonProperty("purchaseOrderId")]
public virtual string PurchaseOrderId { get; set; }
Property Value
Type | Description |
---|---|
string |
Seats
This is a required property. The seats property is the number of user seat licenses.
Declaration
[JsonProperty("seats")]
public virtual Seats Seats { get; set; }
Property Value
Type | Description |
---|---|
Seats |