class Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Extension

Describes the details of an extension request.

Attributes

duration[RW]

Describes the length of a period of a time. Corresponds to the JSON property `duration` @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Duration]

partner_user_token[RW]

Required. Identifier of the end-user in partner’s system. Corresponds to the JSON property `partnerUserToken` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/paymentsresellersubscription_v1/classes.rb, line 203
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 208
def update!(**args)
  @duration = args[:duration] if args.key?(:duration)
  @partner_user_token = args[:partner_user_token] if args.key?(:partner_user_token)
end