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 CandidateAddress = CandidateAddress' {}
- newCandidateAddress :: CandidateAddress
- candidateAddress_city :: Lens' CandidateAddress (Maybe Text)
- candidateAddress_country :: Lens' CandidateAddress (Maybe Text)
- candidateAddress_postalCode :: Lens' CandidateAddress (Maybe Text)
- candidateAddress_postalCodePlus4 :: Lens' CandidateAddress (Maybe Text)
- candidateAddress_state :: Lens' CandidateAddress (Maybe Text)
- candidateAddress_streetInfo :: Lens' CandidateAddress (Maybe Text)
- candidateAddress_streetNumber :: Lens' CandidateAddress (Maybe Text)
Documentation
data CandidateAddress Source #
A suggested address.
See: newCandidateAddress
smart constructor.
CandidateAddress' | |
|
Instances
newCandidateAddress :: CandidateAddress Source #
Create a value of CandidateAddress
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:CandidateAddress'
, candidateAddress_city
- The city of a candidate address.
$sel:country:CandidateAddress'
, candidateAddress_country
- The country of a candidate address.
$sel:postalCode:CandidateAddress'
, candidateAddress_postalCode
- The postal code of a candidate address.
$sel:postalCodePlus4:CandidateAddress'
, candidateAddress_postalCodePlus4
- The Zip + 4 or postal code + 4 of a candidate address.
$sel:state:CandidateAddress'
, candidateAddress_state
- The state of a candidate address.
$sel:streetInfo:CandidateAddress'
, candidateAddress_streetInfo
- The street information of a candidate address
$sel:streetNumber:CandidateAddress'
, candidateAddress_streetNumber
- The numeric portion of a candidate address.
candidateAddress_city :: Lens' CandidateAddress (Maybe Text) Source #
The city of a candidate address.
candidateAddress_country :: Lens' CandidateAddress (Maybe Text) Source #
The country of a candidate address.
candidateAddress_postalCode :: Lens' CandidateAddress (Maybe Text) Source #
The postal code of a candidate address.
candidateAddress_postalCodePlus4 :: Lens' CandidateAddress (Maybe Text) Source #
The Zip + 4 or postal code + 4 of a candidate address.
candidateAddress_state :: Lens' CandidateAddress (Maybe Text) Source #
The state of a candidate address.
candidateAddress_streetInfo :: Lens' CandidateAddress (Maybe Text) Source #
The street information of a candidate address
candidateAddress_streetNumber :: Lens' CandidateAddress (Maybe Text) Source #
The numeric portion of a candidate address.