Class: Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers

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

User account identifier in the third-party service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExternalAccountIdentifiers

Returns a new instance of ExternalAccountIdentifiers.



1212
1213
1214
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1212

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

Instance Attribute Details

#external_account_idString

User account identifier in the third-party service. Only present if account linking happened as part of the subscription purchase flow. Corresponds to the JSON property externalAccountId

Returns:

  • (String)


1193
1194
1195
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1193

def 
  @external_account_id
end

#obfuscated_external_account_idString

An obfuscated version of the id that is uniquely associated with the user's account in your app. Present for the following purchases: * If account linking happened as part of the subscription purchase flow. * It was specified using https://developer.android.com/reference/com/android/billingclient/api/ BillingFlowParams.Builder#setobfuscatedaccountid when the purchase was made. Corresponds to the JSON property obfuscatedExternalAccountId

Returns:

  • (String)


1202
1203
1204
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1202

def 
  @obfuscated_external_account_id
end

#obfuscated_external_profile_idString

An obfuscated version of the id that is uniquely associated with the user's profile in your app. Only present if specified using https://developer.android. com/reference/com/android/billingclient/api/BillingFlowParams.Builder# setobfuscatedprofileid when the purchase was made. Corresponds to the JSON property obfuscatedExternalProfileId

Returns:

  • (String)


1210
1211
1212
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1210

def obfuscated_external_profile_id
  @obfuscated_external_profile_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1217
1218
1219
1220
1221
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1217

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