Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
:param creation_timestamp: Time at which billing agreement details created.
:type creation_timestamp: (optional) datetime
:param destination: The default shipping address of the buyer. Returned if needAmazonShippingAddress is set to true.
:type destination: (optional) ask_sdk_model.interfaces.amazonpay.model.v1.destination.Destination
:param checkout_language: Merchant's preferred language of checkout.
:type checkout_language: (optional) str
:param release_environment:
:type release_environment: (optional) ask_sdk_model.interfaces.amazonpay.model.response.release_environment.ReleaseEnvironment
:param billing_agreement_status:
:type billing_agreement_status: (optional) ask_sdk_model.interfaces.amazonpay.model.v1.billing_agreement_status.BillingAgreementStatus
:param billing_address: The Billing Address of the payment instrument associated with Billing Agreement.
:type billing_address: (optional) ask_sdk_model.interfaces.amazonpay.model.response.destination.Destination
"""
self.__discriminator_value = None # type: str
super(BillingAgreementDetails, self).__init__(billing_agreement_id=billing_agreement_id, creation_timestamp=creation_timestamp, destination=destination, checkout_language=checkout_language, release_environment=release_environment, billing_agreement_status=billing_agreement_status)
self.release_environment = release_environment
self.billing_address = billing_address
def __eq__(self, other):
# type: (object) -> bool
"""Returns true if both objects are equal"""
if not isinstance(other, BillingAgreementDetails):
return False
return self.__dict__ == other.__dict__
import six
import typing
from enum import Enum
from ask_sdk_model.interfaces.amazonpay.model.v1.billing_agreement_details import BillingAgreementDetails
if typing.TYPE_CHECKING:
from typing import Dict, List, Optional, Union
from datetime import datetime
from ask_sdk_model.interfaces.amazonpay.model.v1.billing_agreement_status import BillingAgreementStatusV1
from ask_sdk_model.interfaces.amazonpay.model.v1.destination import DestinationV1
from ask_sdk_model.interfaces.amazonpay.model.response.destination import Destination
from ask_sdk_model.interfaces.amazonpay.model.response.release_environment import ReleaseEnvironment
class BillingAgreementDetails(BillingAgreementDetails):
"""
The result attributes from successful SetupAmazonPay call.
:param billing_agreement_id: Billing agreement id which can be used for one time and recurring purchases
:type billing_agreement_id: (optional) str
:param creation_timestamp: Time at which billing agreement details created.
:type creation_timestamp: (optional) datetime
:param destination: The default shipping address of the buyer. Returned if needAmazonShippingAddress is set to true.
:type destination: (optional) ask_sdk_model.interfaces.amazonpay.model.v1.destination.Destination
:param checkout_language: Merchant's preferred language of checkout.
:type checkout_language: (optional) str
:param release_environment:
:type release_environment: (optional) ask_sdk_model.interfaces.amazonpay.model.response.release_environment.ReleaseEnvironment
:param billing_agreement_status:
:type billing_agreement_status: (optional) ask_sdk_model.interfaces.amazonpay.model.v1.billing_agreement_status.BillingAgreementStatus