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.



3969
3970
3971
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3969

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)


3967
3968
3969
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3967

def external_transaction_token
  @external_transaction_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3974
3975
3976
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3974

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