Class: Aws::AppMonetization::Types::CreateOneTimeCheckoutSessionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::CreateOneTimeCheckoutSessionRequest
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
Input for CreateOneTimeCheckoutSession.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#app_id ⇒ String
The ID of the app the purchase is for.
-
#client_token ⇒ String
A unique, case-sensitive identifier to ensure that the operation completes no more than one time.
-
#items ⇒ Array<Types::CheckoutItem>
The purchasables to buy.
-
#return_url ⇒ String
The URL the buyer's browser is sent to after they complete payment at checkout (the checkout page's success-redirect target).
-
#scope ⇒ String
Required.
-
#user_id ⇒ String
The ID of the end user making the purchase.
Instance Attribute Details
#app_id ⇒ String
The ID of the app the purchase is for.
1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1369 class CreateOneTimeCheckoutSessionRequest < Struct.new( :app_id, :user_id, :items, :return_url, :client_token, :scope) SENSITIVE = [] include Aws::Structure end |
#client_token ⇒ String
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.
A suitable default value is auto-generated. You should normally not need to pass this option.
1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1369 class CreateOneTimeCheckoutSessionRequest < Struct.new( :app_id, :user_id, :items, :return_url, :client_token, :scope) SENSITIVE = [] include Aws::Structure end |
#items ⇒ Array<Types::CheckoutItem>
The purchasables to buy. Each line is a usage pack or add-on and the number of units to buy.
1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1369 class CreateOneTimeCheckoutSessionRequest < Struct.new( :app_id, :user_id, :items, :return_url, :client_token, :scope) SENSITIVE = [] include Aws::Structure end |
#return_url ⇒ String
The URL the buyer's browser is sent to after they complete payment at checkout (the checkout page's success-redirect target). A one-time purchase always requires payment, so there is no cancel-redirect field on this operation.
1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1369 class CreateOneTimeCheckoutSessionRequest < Struct.new( :app_id, :user_id, :items, :return_url, :client_token, :scope) SENSITIVE = [] include Aws::Structure end |
#scope ⇒ String
Required. The environment: live or sandbox.
1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1369 class CreateOneTimeCheckoutSessionRequest < Struct.new( :app_id, :user_id, :items, :return_url, :client_token, :scope) SENSITIVE = [] include Aws::Structure end |
#user_id ⇒ String
The ID of the end user making the purchase. Do not include personally identifiable or otherwise sensitive data in this value.
1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1369 class CreateOneTimeCheckoutSessionRequest < Struct.new( :app_id, :user_id, :items, :return_url, :client_token, :scope) SENSITIVE = [] include Aws::Structure end |