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.



1195
1196
1197
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1195

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)


1176
1177
1178
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1176

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)


1185
1186
1187
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1185

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)


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

def obfuscated_external_profile_id
  @obfuscated_external_profile_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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