Class: Google::Apis::AndroidpublisherV3::SubscriptionPurchasesAcknowledgeRequest

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

Request for the purchases.subscriptions.acknowledge API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SubscriptionPurchasesAcknowledgeRequest

Returns a new instance of SubscriptionPurchasesAcknowledgeRequest.



9240
9241
9242
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 9240

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

Instance Attribute Details

#developer_payloadString

Payload to attach to the purchase. Corresponds to the JSON property developerPayload

Returns:

  • (String)


9233
9234
9235
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 9233

def developer_payload
  @developer_payload
end

#external_account_idsGoogle::Apis::AndroidpublisherV3::ExternalAccountIds

User account identifier in your app. Corresponds to the JSON property externalAccountIds



9238
9239
9240
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 9238

def 
  @external_account_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9245
9246
9247
9248
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 9245

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