Struct google_reseller1_sandbox::Subscription [] [src]

pub struct Subscription {
    pub status: Option<String>,
    pub sku_id: Option<String>,
    pub trial_settings: Option<SubscriptionTrialSettings>,
    pub deal_code: Option<String>,
    pub resource_ui_url: Option<String>,
    pub customer_domain: Option<String>,
    pub plan: Option<SubscriptionPlan>,
    pub seats: Option<Seats>,
    pub billing_method: Option<String>,
    pub renewal_settings: Option<RenewalSettings>,
    pub transfer_info: Option<SubscriptionTransferInfo>,
    pub kind: Option<String>,
    pub suspension_reasons: Option<Vec<String>>,
    pub creation_time: Option<String>,
    pub purchase_order_id: Option<String>,
    pub subscription_id: Option<String>,
    pub customer_id: Option<String>,
}

JSON template for a subscription.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

Status of the subscription.

Name of the sku for which this subscription is purchased.

Trial Settings of the subscription.

External name of the deal, if this subscription was provisioned under one. Otherwise this field will be empty.

Ui url for subscription resource.

Primary domain name of the customer

Plan details of the subscription

Number/Limit of seats in the new plan.

Billing method of this subscription.

Renewal settings of the subscription.

Transfer related information for the subscription.

Identifies the resource as a Subscription.

Read-only field containing an enumerable of all the current suspension reasons for a subscription. It is possible for a subscription to have many concurrent, overlapping suspension reasons. A subscription's STATUS is SUSPENDED until all pending suspensions are removed. Possible options include:
- PENDING_TOS_ACCEPTANCE - The customer has not logged in and accepted the Google Apps Resold Terms of Services.
- RENEWAL_WITH_TYPE_CANCEL - The customer's commitment ended and their service was cancelled at the end of their term.
- RESELLER_INITIATED - A manual suspension invoked by a Reseller.
- TRIAL_ENDED - The customer's trial expired without a plan selected.
- OTHER - The customer is suspended for an internal Google reason (e.g. abuse or otherwise).

Creation time of this subscription in milliseconds since Unix epoch.

Purchase order id for your order tracking purposes.

The id of the subscription.

The id of the customer to whom the subscription belongs.

Trait Implementations

impl Default for Subscription
[src]

Returns the "default value" for a type. Read more

impl Clone for Subscription
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Subscription
[src]

Formats the value using the given formatter.

impl RequestValue for Subscription
[src]

impl Resource for Subscription
[src]

impl ResponseResult for Subscription
[src]