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 :: Text -> Text -> Text -> Text -> Text -> Text -> Address
- address_company :: Lens' Address (Maybe Text)
- address_phoneNumber :: Lens' Address (Maybe Text)
- address_street2 :: Lens' Address (Maybe Text)
- address_street3 :: Lens' Address (Maybe Text)
- address_city :: Lens' Address Text
- address_country :: Lens' Address Text
- address_name :: Lens' Address Text
- address_postalCode :: Lens' Address Text
- address_stateOrProvince :: Lens' Address Text
- address_street1 :: Lens' Address Text
Documentation
Information about an address.
See: newAddress
smart constructor.
Address' | |
|
Instances
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:company:Address'
, address_company
- The company name for this address.
$sel:phoneNumber:Address'
, address_phoneNumber
- The phone number for this address.
$sel:street2:Address'
, address_street2
- The second line of the street address.
$sel:street3:Address'
, address_street3
- The third line of the street address.
$sel:city:Address'
, address_city
- The city for this address.
$sel:country:Address'
, address_country
- The country for this address.
$sel:name:Address'
, address_name
- The recipient's name for this address.
$sel:postalCode:Address'
, address_postalCode
- The postal code for this address.
$sel:stateOrProvince:Address'
, address_stateOrProvince
- The state or province for this address.
$sel:street1:Address'
, address_street1
- The first line of the street address.