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_country :: Lens' Address (Maybe Text)
- address_formatted :: Lens' Address (Maybe Text)
- address_locality :: Lens' Address (Maybe Text)
- address_postalCode :: Lens' Address (Maybe Text)
- address_primary :: Lens' Address (Maybe Bool)
- address_region :: Lens' Address (Maybe Text)
- address_streetAddress :: Lens' Address (Maybe Text)
- address_type :: Lens' Address (Maybe Text)
Documentation
The address associated with the specified user.
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:country:Address'
, address_country
- The country of the address.
$sel:formatted:Address'
, address_formatted
- A string containing a formatted version of the address for display.
$sel:locality:Address'
, address_locality
- A string of the address locality.
$sel:postalCode:Address'
, address_postalCode
- The postal code of the address.
$sel:primary:Address'
, address_primary
- A Boolean value representing whether this is the primary address for the
associated resource.
$sel:region:Address'
, address_region
- The region of the address.
$sel:streetAddress:Address'
, address_streetAddress
- The street of the address.
$sel:type':Address'
, address_type
- A string representing the type of address. For example, "Home."
address_formatted :: Lens' Address (Maybe Text) Source #
A string containing a formatted version of the address for display.