Class: Google::Apis::AndroidpublisherV3::OneTimeExternalTransaction

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb

Overview

Represents a one-time transaction.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OneTimeExternalTransaction

Returns a new instance of OneTimeExternalTransaction.



3958
3959
3960
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3958

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#external_transaction_tokenString

Input only. Provided during the call to Create. Retrieved from the client when the alternative billing flow is launched. Corresponds to the JSON property externalTransactionToken

Returns:

  • (String)


3956
3957
3958
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3956

def external_transaction_token
  @external_transaction_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3963
3964
3965
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3963

def update!(**args)
  @external_transaction_token = args[:external_transaction_token] if args.key?(:external_transaction_token)
end