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.



2159
2160
2161
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2159

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)


2140
2141
2142
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2140

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)


2149
2150
2151
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2149

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)


2157
2158
2159
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2157

def obfuscated_external_profile_id
  @obfuscated_external_profile_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2164
2165
2166
2167
2168
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2164

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