ask_sdk_model.interfaces.amazonpay.request package¶
Submodules¶
Note
Canonical imports have been added in the __init__.py
of the package.
This helps in importing the class directly from the package, than
through the module.
For eg: if package a
has module b
with
class C
, you can do from a import C
instead of
from a.b import C
.
ask_sdk_model.interfaces.amazonpay.request.charge_amazon_pay_request module¶
-
class
ask_sdk_model.interfaces.amazonpay.request.charge_amazon_pay_request.
ChargeAmazonPayRequest
(version=None, seller_id=None, billing_agreement_id=None, payment_action=None, authorize_attributes=None, seller_order_attributes=None, provider_attributes=None)¶ Bases:
ask_sdk_model.interfaces.amazonpay.model.request.base_amazon_pay_entity.BaseAmazonPayEntity
Charge Amazon Pay Request Object.
Parameters: - version ((optional) str) – Version of the Amazon Pay Entity. Can be 1 or greater.
- seller_id ((optional) str) – The seller ID (also known as merchant ID). If you are an Ecommerce Provider (Solution Provider), please specify the ID of the merchant, not your provider ID.
- billing_agreement_id ((optional) str) – The payment contract i.e. billing agreement created for the user.
- payment_action ((optional) ask_sdk_model.interfaces.amazonpay.model.request.payment_action.PaymentAction) –
- authorize_attributes ((optional) ask_sdk_model.interfaces.amazonpay.model.request.authorize_attributes.AuthorizeAttributes) –
- seller_order_attributes ((optional) ask_sdk_model.interfaces.amazonpay.model.request.seller_order_attributes.SellerOrderAttributes) –
- provider_attributes ((optional) ask_sdk_model.interfaces.amazonpay.model.request.provider_attributes.ProviderAttributes) –
-
attribute_map
= {'authorize_attributes': 'authorizeAttributes', 'billing_agreement_id': 'billingAgreementId', 'object_type': '@type', 'payment_action': 'paymentAction', 'provider_attributes': 'providerAttributes', 'seller_id': 'sellerId', 'seller_order_attributes': 'sellerOrderAttributes', 'version': '@version'}¶
-
deserialized_types
= {'authorize_attributes': 'ask_sdk_model.interfaces.amazonpay.model.request.authorize_attributes.AuthorizeAttributes', 'billing_agreement_id': 'str', 'object_type': 'str', 'payment_action': 'ask_sdk_model.interfaces.amazonpay.model.request.payment_action.PaymentAction', 'provider_attributes': 'ask_sdk_model.interfaces.amazonpay.model.request.provider_attributes.ProviderAttributes', 'seller_id': 'str', 'seller_order_attributes': 'ask_sdk_model.interfaces.amazonpay.model.request.seller_order_attributes.SellerOrderAttributes', 'version': 'str'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
ask_sdk_model.interfaces.amazonpay.request.setup_amazon_pay_request module¶
-
class
ask_sdk_model.interfaces.amazonpay.request.setup_amazon_pay_request.
SetupAmazonPayRequest
(version=None, seller_id=None, country_of_establishment=None, ledger_currency=None, checkout_language=None, billing_agreement_attributes=None, need_amazon_shipping_address=False, sandbox_mode=False, sandbox_customer_email_id=None)¶ Bases:
ask_sdk_model.interfaces.amazonpay.model.request.base_amazon_pay_entity.BaseAmazonPayEntity
Setup Amazon Pay Request Object.
Parameters: - version ((optional) str) – Version of the Amazon Pay Entity. Can be 1 or greater.
- seller_id ((optional) str) – The seller ID (also known as merchant ID). If you are an Ecommerce Provider (Solution Provider), please specify the ID of the merchant, not your provider ID.
- country_of_establishment ((optional) str) – The country in which the merchant has registered, as an Amazon Payments legal entity.
- ledger_currency ((optional) str) – The currency of the merchant’s ledger account.
- checkout_language ((optional) str) – The merchant's preferred language for checkout.
- billing_agreement_attributes ((optional) ask_sdk_model.interfaces.amazonpay.model.request.billing_agreement_attributes.BillingAgreementAttributes) –
- need_amazon_shipping_address (bool) – To receive the default user shipping address in the response, set this parameter to true. Not required if a user shipping address is not required.
- sandbox_mode (bool) – To test in Sandbox mode, set this parameter to true.
- sandbox_customer_email_id ((optional) str) – Use this parameter to create a Sandbox payment object. In order to use this parameter, you first create a Sandbox user account in Seller Central. Then, pass the email address associated with that Sandbox user account.
-
attribute_map
= {'billing_agreement_attributes': 'billingAgreementAttributes', 'checkout_language': 'checkoutLanguage', 'country_of_establishment': 'countryOfEstablishment', 'ledger_currency': 'ledgerCurrency', 'need_amazon_shipping_address': 'needAmazonShippingAddress', 'object_type': '@type', 'sandbox_customer_email_id': 'sandboxCustomerEmailId', 'sandbox_mode': 'sandboxMode', 'seller_id': 'sellerId', 'version': '@version'}¶
-
deserialized_types
= {'billing_agreement_attributes': 'ask_sdk_model.interfaces.amazonpay.model.request.billing_agreement_attributes.BillingAgreementAttributes', 'checkout_language': 'str', 'country_of_establishment': 'str', 'ledger_currency': 'str', 'need_amazon_shipping_address': 'bool', 'object_type': 'str', 'sandbox_customer_email_id': 'str', 'sandbox_mode': 'bool', 'seller_id': 'str', 'version': 'str'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model