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.



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

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)


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

def external_transaction_id
  @external_transaction_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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