class Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest
Attributes
cancel_immediately[RW]
Optional. If true, the subscription will be cancelled immediately. Otherwise, the subscription will be cancelled at the end of the current cycle, and therefore no prorated refund will be issued for the rest of the cycle. Corresponds to the JSON property `cancelImmediately` @return [Boolean]
cancel_immediately?[RW]
Optional. If true, the subscription will be cancelled immediately. Otherwise, the subscription will be cancelled at the end of the current cycle, and therefore no prorated refund will be issued for the rest of the cycle. Corresponds to the JSON property `cancelImmediately` @return [Boolean]
cancellation_reason[RW]
Specifies the reason for the cancellation. Corresponds to the JSON property `cancellationReason` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/paymentsresellersubscription_v1/classes.rb, line 42 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 47 def update!(**args) @cancel_immediately = args[:cancel_immediately] if args.key?(:cancel_immediately) @cancellation_reason = args[:cancellation_reason] if args.key?(:cancellation_reason) end