ask_sdk_model.interfaces.amazonpay.response 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.response.amazon_pay_error_response module

class ask_sdk_model.interfaces.amazonpay.response.amazon_pay_error_response.AmazonPayErrorResponse(error_code=None, error_message=None)

Bases: ask_sdk_model.interfaces.amazonpay.v1.amazon_pay_error_response.AmazonPayErrorResponse

Error response for SetupAmazonPay and ChargeAmazonPay calls.

Parameters:
  • error_code ((optional) str) – Error code indicating the succinct cause of error
  • error_message ((optional) str) – Description of the error.
attribute_map = {'error_code': 'errorCode', 'error_message': 'errorMessage'}
deserialized_types = {'error_code': 'str', 'error_message': '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.response.charge_amazon_pay_result module

class ask_sdk_model.interfaces.amazonpay.response.charge_amazon_pay_result.ChargeAmazonPayResult(amazon_order_reference_id=None, authorization_details=None)

Bases: ask_sdk_model.interfaces.amazonpay.v1.charge_amazon_pay_result.ChargeAmazonPayResult

Charge Amazon Pay Result Object. It is sent as part of the response to ChargeAmazonPayRequest.

Parameters:
attribute_map = {'amazon_order_reference_id': 'amazonOrderReferenceId', 'authorization_details': 'authorizationDetails'}
deserialized_types = {'amazon_order_reference_id': 'str', 'authorization_details': 'ask_sdk_model.interfaces.amazonpay.model.response.authorization_details.AuthorizationDetails'}
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.response.setup_amazon_pay_result module

class ask_sdk_model.interfaces.amazonpay.response.setup_amazon_pay_result.SetupAmazonPayResult(billing_agreement_details=None)

Bases: object

Setup Amazon Pay Result Object. It is sent as part of the response to SetupAmazonPayRequest.

Parameters:billing_agreement_details ((optional) ask_sdk_model.interfaces.amazonpay.model.response.billing_agreement_details.BillingAgreementDetails) –
attribute_map = {'billing_agreement_details': 'billingAgreementDetails'}
deserialized_types = {'billing_agreement_details': 'ask_sdk_model.interfaces.amazonpay.model.response.billing_agreement_details.BillingAgreementDetails'}
supports_multiple_types = False
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model