Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Address = Address' {}
- newAddress :: Address
- address_address1 :: Lens' Address (Maybe Text)
- address_address2 :: Lens' Address (Maybe Text)
- address_address3 :: Lens' Address (Maybe Text)
- address_address4 :: Lens' Address (Maybe Text)
- address_city :: Lens' Address (Maybe Text)
- address_country :: Lens' Address (Maybe Text)
- address_county :: Lens' Address (Maybe Text)
- address_postalCode :: Lens' Address (Maybe Text)
- address_province :: Lens' Address (Maybe Text)
- address_state :: Lens' Address (Maybe Text)
Documentation
A generic address associated with the customer that is not mailing, shipping, or billing.
See: newAddress
smart constructor.
Address' | |
|
Instances
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:address1:Address'
, address_address1
- The first line of a customer address.
$sel:address2:Address'
, address_address2
- The second line of a customer address.
$sel:address3:Address'
, address_address3
- The third line of a customer address.
$sel:address4:Address'
, address_address4
- The fourth line of a customer address.
$sel:city:Address'
, address_city
- The city in which a customer lives.
$sel:country:Address'
, address_country
- The country in which a customer lives.
$sel:county:Address'
, address_county
- The county in which a customer lives.
$sel:postalCode:Address'
, address_postalCode
- The postal code of a customer address.
$sel:province:Address'
, address_province
- The province in which a customer lives.
$sel:state:Address'
, address_state
- The state in which a customer lives.