class Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails

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

Attributes

billing_cycle_spec[RW]

Required. Specifies the billing cycle spec for the new upgraded/downgraded subscription. Corresponds to the JSON property `billingCycleSpec` @return [String]

previous_subscription_id[RW]

Required. The previous subscription id to be replaced. This is not the full resource name, use the subscription_id segment only. Corresponds to the JSON property `previousSubscriptionId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/paymentsresellersubscription_v1/classes.rb, line 549
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/paymentsresellersubscription_v1/classes.rb, line 554
def update!(**args)
  @billing_cycle_spec = args[:billing_cycle_spec] if args.key?(:billing_cycle_spec)
  @previous_subscription_id = args[:previous_subscription_id] if args.key?(:previous_subscription_id)
end