Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __eq__(self, other):
# type: (object) -> bool
"""Returns true if both objects are equal"""
if not isinstance(other, Destination):
return False
return self.__dict__ == other.__dict__
:param city: The city
:type city: (optional) str
:param district_or_county: The district or County
:type district_or_county: (optional) str
:param state_or_region: The state or region. This element is free text and can be either a 2-character code, fully spelled out, or abbreviated. Required. Note :- This response element is returned only in the U.S.
:type state_or_region: (optional) str
:param postal_code: The postal code.
:type postal_code: (optional) str
:param country_code: The country code, in ISO 3166 format
:type country_code: (optional) str
:param phone: The phone number
:type phone: (optional) str
"""
self.__discriminator_value = None # type: str
super(Destination, self).__init__(name=name, company_name=company_name, address_line1=address_line1, address_line2=address_line2, address_line3=address_line3, city=city, district_or_county=district_or_county, state_or_region=state_or_region, postal_code=postal_code, country_code=country_code, phone=phone)
#
import pprint
import re # noqa: F401
import six
import typing
from enum import Enum
from ask_sdk_model.interfaces.amazonpay.model.v1.destination import Destination
if typing.TYPE_CHECKING:
from typing import Dict, List, Optional, Union
from datetime import datetime
class Destination(Destination):
"""
:param name: The name or business name
:type name: (optional) str
:param company_name: The company name
:type company_name: (optional) str
:param address_line1: The first line of the address. At least one AddressLine (AddressLine1, AddressLine2, or AddressLine3) is required.
:type address_line1: (optional) str
:param address_line2: The second line of the address. At least one AddressLine (AddressLine1, AddressLine2, or AddressLine3) is required.
:type address_line2: (optional) str
:param address_line3: The third line of the address. At least one AddressLine (AddressLine1, AddressLine2, or AddressLine3) is required.
:type address_line3: (optional) str
:param city: The city
:type city: (optional) str
:param district_or_county: The district or County
:type district_or_county: (optional) str