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' {
- city :: Maybe (Sensitive Text)
- country :: Maybe (Sensitive Text)
- postDirectional :: Maybe (Sensitive Text)
- postalCode :: Maybe (Sensitive Text)
- postalCodePlus4 :: Maybe (Sensitive Text)
- preDirectional :: Maybe (Sensitive Text)
- state :: Maybe (Sensitive Text)
- streetName :: Maybe (Sensitive Text)
- streetNumber :: Maybe (Sensitive Text)
- streetSuffix :: Maybe (Sensitive Text)
- newAddress :: Address
- address_city :: Lens' Address (Maybe Text)
- address_country :: Lens' Address (Maybe Text)
- address_postDirectional :: Lens' Address (Maybe Text)
- address_postalCode :: Lens' Address (Maybe Text)
- address_postalCodePlus4 :: Lens' Address (Maybe Text)
- address_preDirectional :: Lens' Address (Maybe Text)
- address_state :: Lens' Address (Maybe Text)
- address_streetName :: Lens' Address (Maybe Text)
- address_streetNumber :: Lens' Address (Maybe Text)
- address_streetSuffix :: Lens' Address (Maybe Text)
Documentation
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:city:Address'
, address_city
- Undocumented member.
$sel:country:Address'
, address_country
- Undocumented member.
$sel:postDirectional:Address'
, address_postDirectional
- Undocumented member.
$sel:postalCode:Address'
, address_postalCode
- Undocumented member.
$sel:postalCodePlus4:Address'
, address_postalCodePlus4
- Undocumented member.
$sel:preDirectional:Address'
, address_preDirectional
- Undocumented member.
$sel:state:Address'
, address_state
- Undocumented member.
$sel:streetName:Address'
, address_streetName
- Undocumented member.
$sel:streetNumber:Address'
, address_streetNumber
- Undocumented member.
$sel:streetSuffix:Address'
, address_streetSuffix
- Undocumented member.