libZSservicesZSamazonka-customer-profilesZSamazonka-customer-profiles
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CustomerProfiles.Types.Address

Description

 
Synopsis

Documentation

data Address Source #

A generic address associated with the customer that is not mailing, shipping, or billing.

See: newAddress smart constructor.

Constructors

Address' 

Fields

Instances

Instances details
Eq Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

Methods

(==) :: Address -> Address -> Bool #

(/=) :: Address -> Address -> Bool #

Read Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

Show Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

Generic Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

Associated Types

type Rep Address :: Type -> Type #

Methods

from :: Address -> Rep Address x #

to :: Rep Address x -> Address #

NFData Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

Methods

rnf :: Address -> () #

Hashable Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

Methods

hashWithSalt :: Int -> Address -> Int #

hash :: Address -> Int #

ToJSON Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

FromJSON Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

type Rep Address Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Address

newAddress :: Address Source #

Create a value of Address with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:address2:Address', address_address2 - The second line of a customer address.

$sel:state:Address', address_state - The state in which a customer lives.

$sel:address4:Address', address_address4 - The fourth line of a customer address.

$sel:county:Address', address_county - The county in which a customer lives.

$sel:address3:Address', address_address3 - The third line of a customer address.

$sel:postalCode:Address', address_postalCode - The postal code of a customer address.

$sel:country:Address', address_country - The country in which a customer lives.

$sel:city:Address', address_city - The city in which a customer lives.

$sel:address1:Address', address_address1 - The first line of a customer address.

$sel:province:Address', address_province - The province in which a customer lives.

address_address2 :: Lens' Address (Maybe Text) Source #

The second line of a customer address.

address_state :: Lens' Address (Maybe Text) Source #

The state in which a customer lives.

address_address4 :: Lens' Address (Maybe Text) Source #

The fourth line of a customer address.

address_county :: Lens' Address (Maybe Text) Source #

The county in which a customer lives.

address_address3 :: Lens' Address (Maybe Text) Source #

The third line of a customer address.

address_postalCode :: Lens' Address (Maybe Text) Source #

The postal code of a customer address.

address_country :: Lens' Address (Maybe Text) Source #

The country in which a customer lives.

address_city :: Lens' Address (Maybe Text) Source #

The city in which a customer lives.

address_address1 :: Lens' Address (Maybe Text) Source #

The first line of a customer address.

address_province :: Lens' Address (Maybe Text) Source #

The province in which a customer lives.