Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Profile = Profile' {
- shippingAddress :: Maybe Address
- mobilePhoneNumber :: Maybe Text
- mailingAddress :: Maybe Address
- middleName :: Maybe Text
- personalEmailAddress :: Maybe Text
- lastName :: Maybe Text
- additionalInformation :: Maybe Text
- homePhoneNumber :: Maybe Text
- address :: Maybe Address
- partyType :: Maybe PartyType
- profileId :: Maybe Text
- businessEmailAddress :: Maybe Text
- attributes :: Maybe (HashMap Text Text)
- gender :: Maybe Gender
- phoneNumber :: Maybe Text
- accountNumber :: Maybe Text
- emailAddress :: Maybe Text
- firstName :: Maybe Text
- billingAddress :: Maybe Address
- businessPhoneNumber :: Maybe Text
- birthDate :: Maybe Text
- businessName :: Maybe Text
- newProfile :: Profile
- profile_shippingAddress :: Lens' Profile (Maybe Address)
- profile_mobilePhoneNumber :: Lens' Profile (Maybe Text)
- profile_mailingAddress :: Lens' Profile (Maybe Address)
- profile_middleName :: Lens' Profile (Maybe Text)
- profile_personalEmailAddress :: Lens' Profile (Maybe Text)
- profile_lastName :: Lens' Profile (Maybe Text)
- profile_additionalInformation :: Lens' Profile (Maybe Text)
- profile_homePhoneNumber :: Lens' Profile (Maybe Text)
- profile_address :: Lens' Profile (Maybe Address)
- profile_partyType :: Lens' Profile (Maybe PartyType)
- profile_profileId :: Lens' Profile (Maybe Text)
- profile_businessEmailAddress :: Lens' Profile (Maybe Text)
- profile_attributes :: Lens' Profile (Maybe (HashMap Text Text))
- profile_gender :: Lens' Profile (Maybe Gender)
- profile_phoneNumber :: Lens' Profile (Maybe Text)
- profile_accountNumber :: Lens' Profile (Maybe Text)
- profile_emailAddress :: Lens' Profile (Maybe Text)
- profile_firstName :: Lens' Profile (Maybe Text)
- profile_billingAddress :: Lens' Profile (Maybe Address)
- profile_businessPhoneNumber :: Lens' Profile (Maybe Text)
- profile_birthDate :: Lens' Profile (Maybe Text)
- profile_businessName :: Lens' Profile (Maybe Text)
Documentation
The standard profile of a customer.
See: newProfile
smart constructor.
Profile' | |
|
Instances
newProfile :: Profile Source #
Create a value of Profile
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:shippingAddress:Profile'
, profile_shippingAddress
- The customer’s shipping address.
$sel:mobilePhoneNumber:Profile'
, profile_mobilePhoneNumber
- The customer’s mobile phone number.
$sel:mailingAddress:Profile'
, profile_mailingAddress
- The customer’s mailing address.
$sel:middleName:Profile'
, profile_middleName
- The customer’s middle name.
$sel:personalEmailAddress:Profile'
, profile_personalEmailAddress
- The customer’s personal email address.
$sel:lastName:Profile'
, profile_lastName
- The customer’s last name.
$sel:additionalInformation:Profile'
, profile_additionalInformation
- Any additional information relevant to the customer’s profile.
$sel:homePhoneNumber:Profile'
, profile_homePhoneNumber
- The customer’s home phone number.
$sel:address:Profile'
, profile_address
- A generic address associated with the customer that is not mailing,
shipping, or billing.
$sel:partyType:Profile'
, profile_partyType
- The type of profile used to describe the customer.
$sel:profileId:Profile'
, profile_profileId
- The unique identifier of a customer profile.
$sel:businessEmailAddress:Profile'
, profile_businessEmailAddress
- The customer’s business email address.
$sel:attributes:Profile'
, profile_attributes
- A key value pair of attributes of a customer profile.
$sel:gender:Profile'
, profile_gender
- The gender with which the customer identifies.
$sel:phoneNumber:Profile'
, profile_phoneNumber
- The customer's phone number, which has not been specified as a mobile,
home, or business number.
$sel:accountNumber:Profile'
, profile_accountNumber
- A unique account number that you have given to the customer.
$sel:emailAddress:Profile'
, profile_emailAddress
- The customer’s email address, which has not been specified as a personal
or business address.
$sel:firstName:Profile'
, profile_firstName
- The customer’s first name.
$sel:billingAddress:Profile'
, profile_billingAddress
- The customer’s billing address.
$sel:businessPhoneNumber:Profile'
, profile_businessPhoneNumber
- The customer’s home phone number.
$sel:birthDate:Profile'
, profile_birthDate
- The customer’s birth date.
$sel:businessName:Profile'
, profile_businessName
- The name of the customer’s business.
profile_personalEmailAddress :: Lens' Profile (Maybe Text) Source #
The customer’s personal email address.
profile_additionalInformation :: Lens' Profile (Maybe Text) Source #
Any additional information relevant to the customer’s profile.
profile_address :: Lens' Profile (Maybe Address) Source #
A generic address associated with the customer that is not mailing, shipping, or billing.
profile_partyType :: Lens' Profile (Maybe PartyType) Source #
The type of profile used to describe the customer.
profile_profileId :: Lens' Profile (Maybe Text) Source #
The unique identifier of a customer profile.
profile_businessEmailAddress :: Lens' Profile (Maybe Text) Source #
The customer’s business email address.
profile_attributes :: Lens' Profile (Maybe (HashMap Text Text)) Source #
A key value pair of attributes of a customer profile.
profile_gender :: Lens' Profile (Maybe Gender) Source #
The gender with which the customer identifies.
profile_phoneNumber :: Lens' Profile (Maybe Text) Source #
The customer's phone number, which has not been specified as a mobile, home, or business number.
profile_accountNumber :: Lens' Profile (Maybe Text) Source #
A unique account number that you have given to the customer.