Class: Google::Apis::AndroidpublisherV3::OutOfAppPurchaseContext
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::OutOfAppPurchaseContext
- 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
Information specific to an out of app purchase.
Instance Attribute Summary collapse
-
#expired_external_account_identifiers ⇒ Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers
User account identifier in the third-party service.
-
#expired_purchase_token ⇒ String
The purchase token of the last expired subscription.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OutOfAppPurchaseContext
constructor
A new instance of OutOfAppPurchaseContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OutOfAppPurchaseContext
Returns a new instance of OutOfAppPurchaseContext.
6271 6272 6273 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6271 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expired_external_account_identifiers ⇒ Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers
User account identifier in the third-party service.
Corresponds to the JSON property expiredExternalAccountIdentifiers
6261 6262 6263 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6261 def expired_external_account_identifiers @expired_external_account_identifiers end |
#expired_purchase_token ⇒ String
The purchase token of the last expired subscription. This purchase token must
only be used to help identify the user if the link between the purchaseToken
and user is stored in your database. This cannot be used to call the Google
Developer API if it has been more than 60 days since expiry.
Corresponds to the JSON property expiredPurchaseToken
6269 6270 6271 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6269 def expired_purchase_token @expired_purchase_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6276 6277 6278 6279 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6276 def update!(**args) @expired_external_account_identifiers = args[:expired_external_account_identifiers] if args.key?(:expired_external_account_identifiers) @expired_purchase_token = args[:expired_purchase_token] if args.key?(:expired_purchase_token) end |