How to use the ask-sdk-model.ask_sdk_model.interfaces.amazonpay.model.response.price.Price 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 / model / response / price.py View on Github external
def __init__(self, amount=None, currency_code=None):
        # type: (Optional[str], Optional[str]) -> None
        """This response object specifies amount and currency authorized/captured.

        :param amount: Amount authorized/captured.
        :type amount: (optional) str
        :param currency_code: Currency code for the amount.
        :type currency_code: (optional) str
        """
        self.__discriminator_value = None  # type: str

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

        return self.__dict__ == other.__dict__
github alexa / alexa-apis-for-python / ask-sdk-model / ask_sdk_model / interfaces / amazonpay / model / response / price.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.model.v1.price import Price


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


class Price(Price):
    """
    This response object specifies amount and currency authorized/captured.


    :param amount: Amount authorized/captured.
    :type amount: (optional) str
    :param currency_code: Currency code for the amount.
    :type currency_code: (optional) str

    """
    deserialized_types = {
        'amount': 'str',
        'currency_code': 'str'
    }  # type: Dict

    attribute_map = {

ask-sdk-model

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

Apache-2.0
Latest version published 9 months ago

Package Health Score

65 / 100
Full package analysis

Popular ask-sdk-model functions

Similar packages