View Source GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails (google_api_payments_reseller_subscription v0.7.0)

Details about the previous subscription that this new subscription upgrades/downgrades from.

Attributes

  • billingCycleSpec (type: String.t, default: nil) - Required. Specifies the billing cycle spec for the new upgraded/downgraded subscription.
  • previousSubscriptionId (type: String.t, default: nil) - Required. The previous subscription id to be replaced. This is not the full resource name, use the subscription_id segment only.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails{
    billingCycleSpec: String.t() | nil,
    previousSubscriptionId: String.t() | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.