Class: Google::Apis::AndroidpublisherV3::ExternalOfferInitialAcquisitionDetails

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

Details about the first time a user/device completed a transaction using external offers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExternalOfferInitialAcquisitionDetails

Returns a new instance of ExternalOfferInitialAcquisitionDetails.



2175
2176
2177
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2175

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

Instance Attribute Details

#external_transaction_idString

Required. The external transaction id of the first completed purchase made by the user. Corresponds to the JSON property externalTransactionId

Returns:

  • (String)


2173
2174
2175
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2173

def external_transaction_id
  @external_transaction_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2180
2181
2182
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2180

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