How to use the ask-sdk-model.ask_sdk_model.interfaces.amazonpay.response.amazon_pay_error_response.AmazonPayErrorResponse function in ask-sdk-model

To help you get started, we’ve selected a few ask-sdk-model examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github alexa / alexa-apis-for-python / ask-sdk-model / ask_sdk_model / interfaces / amazonpay / response / amazon_pay_error_response.py View on Github external
#

import pprint
import re  # noqa: F401
import six
import typing
from enum import Enum
from ask_sdk_model.interfaces.amazonpay.v1.amazon_pay_error_response import AmazonPayErrorResponse


if typing.TYPE_CHECKING:
    from typing import Dict, List, Optional, Union
    from datetime import datetime


class AmazonPayErrorResponse(AmazonPayErrorResponse):
    """
    Error response for SetupAmazonPay and ChargeAmazonPay calls.


    :param error_code: Error code indicating the succinct cause of error
    :type error_code: (optional) str
    :param error_message: Description of the error.
    :type error_message: (optional) str

    """
    deserialized_types = {
        'error_code': 'str',
        'error_message': 'str'
    }  # type: Dict

    attribute_map = {
github alexa / alexa-apis-for-python / ask-sdk-model / ask_sdk_model / interfaces / amazonpay / response / amazon_pay_error_response.py View on Github external
def __eq__(self, other):
        # type: (object) -> bool
        """Returns true if both objects are equal"""
        if not isinstance(other, AmazonPayErrorResponse):
            return False

        return self.__dict__ == other.__dict__
github alexa / alexa-apis-for-python / ask-sdk-model / ask_sdk_model / interfaces / amazonpay / response / amazon_pay_error_response.py View on Github external
def __init__(self, error_code=None, error_message=None):
        # type: (Optional[str], Optional[str]) -> None
        """Error response for SetupAmazonPay and ChargeAmazonPay calls.

        :param error_code: Error code indicating the succinct cause of error
        :type error_code: (optional) str
        :param error_message: Description of the error.
        :type error_message: (optional) str
        """
        self.__discriminator_value = None  # type: str

        super(AmazonPayErrorResponse, self).__init__(error_code=error_code, error_message=error_message)

ask-sdk-model

The ASK SDK Model package provides model definitions, for building Alexa Skills.

Apache-2.0
Latest version published 1 year ago

Package Health Score

56 / 100
Full package analysis

Popular ask-sdk-model functions

Similar packages