public class Customer extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Customer.Builder
Class to build instances of
Customer. |
| Modifier | Constructor and Description |
|---|---|
|
Customer(String id,
String createdAt,
String updatedAt,
List<Card> cards,
String givenName,
String familyName,
String nickname,
String companyName,
String emailAddress,
Address address,
String phoneNumber,
String birthday,
String referenceId,
String note,
CustomerPreferences preferences,
String creationSource,
List<String> groupIds,
List<String> segmentIds,
Long version,
CustomerTaxIds taxIds)
Initialization constructor.
|
protected |
Customer(String id,
String createdAt,
String updatedAt,
io.apimatic.core.types.OptionalNullable<List<Card>> cards,
io.apimatic.core.types.OptionalNullable<String> givenName,
io.apimatic.core.types.OptionalNullable<String> familyName,
io.apimatic.core.types.OptionalNullable<String> nickname,
io.apimatic.core.types.OptionalNullable<String> companyName,
io.apimatic.core.types.OptionalNullable<String> emailAddress,
Address address,
io.apimatic.core.types.OptionalNullable<String> phoneNumber,
io.apimatic.core.types.OptionalNullable<String> birthday,
io.apimatic.core.types.OptionalNullable<String> referenceId,
io.apimatic.core.types.OptionalNullable<String> note,
CustomerPreferences preferences,
String creationSource,
io.apimatic.core.types.OptionalNullable<List<String>> groupIds,
io.apimatic.core.types.OptionalNullable<List<String>> segmentIds,
Long version,
CustomerTaxIds taxIds)
Internal initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Address |
getAddress()
Getter for Address.
|
String |
getBirthday()
Getter for Birthday.
|
List<Card> |
getCards()
Getter for Cards.
|
String |
getCompanyName()
Getter for CompanyName.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getCreationSource()
Getter for CreationSource.
|
String |
getEmailAddress()
Getter for EmailAddress.
|
String |
getFamilyName()
Getter for FamilyName.
|
String |
getGivenName()
Getter for GivenName.
|
List<String> |
getGroupIds()
Getter for GroupIds.
|
String |
getId()
Getter for Id.
|
String |
getNickname()
Getter for Nickname.
|
String |
getNote()
Getter for Note.
|
String |
getPhoneNumber()
Getter for PhoneNumber.
|
CustomerPreferences |
getPreferences()
Getter for Preferences.
|
String |
getReferenceId()
Getter for ReferenceId.
|
List<String> |
getSegmentIds()
Getter for SegmentIds.
|
CustomerTaxIds |
getTaxIds()
Getter for TaxIds.
|
String |
getUpdatedAt()
Getter for UpdatedAt.
|
Long |
getVersion()
Getter for Version.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetBirthday()
Internal Getter for Birthday.
|
protected io.apimatic.core.types.OptionalNullable<List<Card>> |
internalGetCards()
Internal Getter for Cards.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCompanyName()
Internal Getter for CompanyName.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetEmailAddress()
Internal Getter for EmailAddress.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetFamilyName()
Internal Getter for FamilyName.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetGivenName()
Internal Getter for GivenName.
|
protected io.apimatic.core.types.OptionalNullable<List<String>> |
internalGetGroupIds()
Internal Getter for GroupIds.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetNickname()
Internal Getter for Nickname.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetNote()
Internal Getter for Note.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetPhoneNumber()
Internal Getter for PhoneNumber.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetReferenceId()
Internal Getter for ReferenceId.
|
protected io.apimatic.core.types.OptionalNullable<List<String>> |
internalGetSegmentIds()
Internal Getter for SegmentIds.
|
Customer.Builder |
toBuilder()
Builds a new
Customer.Builder object. |
String |
toString()
Converts this Customer into string format.
|
public Customer(String id, String createdAt, String updatedAt, List<Card> cards, String givenName, String familyName, String nickname, String companyName, String emailAddress, Address address, String phoneNumber, String birthday, String referenceId, String note, CustomerPreferences preferences, String creationSource, List<String> groupIds, List<String> segmentIds, Long version, CustomerTaxIds taxIds)
id - String value for id.createdAt - String value for createdAt.updatedAt - String value for updatedAt.cards - List of Card value for cards.givenName - String value for givenName.familyName - String value for familyName.nickname - String value for nickname.companyName - String value for companyName.emailAddress - String value for emailAddress.address - Address value for address.phoneNumber - String value for phoneNumber.birthday - String value for birthday.referenceId - String value for referenceId.note - String value for note.preferences - CustomerPreferences value for preferences.creationSource - String value for creationSource.groupIds - List of String value for groupIds.segmentIds - List of String value for segmentIds.version - Long value for version.taxIds - CustomerTaxIds value for taxIds.protected Customer(String id, String createdAt, String updatedAt, io.apimatic.core.types.OptionalNullable<List<Card>> cards, io.apimatic.core.types.OptionalNullable<String> givenName, io.apimatic.core.types.OptionalNullable<String> familyName, io.apimatic.core.types.OptionalNullable<String> nickname, io.apimatic.core.types.OptionalNullable<String> companyName, io.apimatic.core.types.OptionalNullable<String> emailAddress, Address address, io.apimatic.core.types.OptionalNullable<String> phoneNumber, io.apimatic.core.types.OptionalNullable<String> birthday, io.apimatic.core.types.OptionalNullable<String> referenceId, io.apimatic.core.types.OptionalNullable<String> note, CustomerPreferences preferences, String creationSource, io.apimatic.core.types.OptionalNullable<List<String>> groupIds, io.apimatic.core.types.OptionalNullable<List<String>> segmentIds, Long version, CustomerTaxIds taxIds)
public String getId()
public String getCreatedAt()
public String getUpdatedAt()
protected io.apimatic.core.types.OptionalNullable<List<Card>> internalGetCards()
public List<Card> getCards()
protected io.apimatic.core.types.OptionalNullable<String> internalGetGivenName()
public String getGivenName()
protected io.apimatic.core.types.OptionalNullable<String> internalGetFamilyName()
public String getFamilyName()
protected io.apimatic.core.types.OptionalNullable<String> internalGetNickname()
public String getNickname()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCompanyName()
public String getCompanyName()
protected io.apimatic.core.types.OptionalNullable<String> internalGetEmailAddress()
public String getEmailAddress()
public Address getAddress()
protected io.apimatic.core.types.OptionalNullable<String> internalGetPhoneNumber()
public String getPhoneNumber()
protected io.apimatic.core.types.OptionalNullable<String> internalGetBirthday()
public String getBirthday()
protected io.apimatic.core.types.OptionalNullable<String> internalGetReferenceId()
public String getReferenceId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetNote()
public String getNote()
public CustomerPreferences getPreferences()
public String getCreationSource()
protected io.apimatic.core.types.OptionalNullable<List<String>> internalGetGroupIds()
public List<String> getGroupIds()
protected io.apimatic.core.types.OptionalNullable<List<String>> internalGetSegmentIds()
public List<String> getSegmentIds()
public Long getVersion()
public CustomerTaxIds getTaxIds()
public String toString()
public Customer.Builder toBuilder()
Customer.Builder object.
Creates the instance with the state of the current model.Customer.Builder objectCopyright © 2023. All rights reserved.