public class ContactCard extends Object implements Contact
| Constructor and Description |
|---|
ContactCard() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBusinessName()
The company business name.
|
String |
getCcEmail()
The contact email if defined, it will be used for notification purposes that will be used as 'CC' to copy email.
|
String |
getCity()
The city.
|
Boolean |
getCompany()
The boolean indication whether contact represents a business entity.
|
String |
getCompanyId()
The company business identification number.
|
String |
getContactEmail()
The contact email used either for notification purposes or for dealing with a potential issues with order.
|
String |
getContactPhone()
The contact phone number used for dealing with potential issues with an order.
|
String |
getCountry()
The contact ISO 3166 alpha-2 country code.
|
String |
getFirstName()
The personal first name.
|
Boolean |
getHasPostalAddress()
If true, the postal address is not same as the company/personal address and must be provided.
|
Long |
getId()
The contact unique identification.
|
String |
getLastName()
The personal last name.
|
Double |
getLatitude()
The contact address latitude geographic coordinate, generated by the service.
|
String |
getLocale()
The preferred language of the issued invoice.
|
Image |
getLogo()
The company logo.
|
Double |
getLongitude()
The contact address longitude geographic coordinate, generated by the service.
|
String |
getMiddleName()
The personal middle name.
|
Date |
getModificationDate()
The date and time of the last modification of entity values.
|
Boolean |
getNewsletter()
The indication whether this contact has given a consent to be subscribed to the seller's newsletter.
|
Integer |
getNumberOfDays()
The number of days for calculation of the invoice due date for this specific contact.
|
ContactCardPostalAddress |
getPostalAddress()
The postal address details.
|
String |
getPostcode()
The post code.
|
String |
getPrefix()
The personal name prefix.
|
String |
getStreet()
The street and street number.
|
String |
getSuffix()
The personal name suffix.
|
String |
getTaxId()
The tax payer identification number of the company.
|
String |
getVatId()
The value added tax identification number (VAT ID) of the company.
|
Boolean |
getVatPayer()
The boolean indication whether company is registered as VAT payer.
|
void |
setBusinessName(String businessName) |
void |
setCcEmail(String ccEmail) |
void |
setCity(String city) |
void |
setCompany(Boolean company) |
void |
setCompanyId(String companyId) |
void |
setContactEmail(String contactEmail) |
void |
setContactPhone(String contactPhone) |
void |
setCountry(String country) |
void |
setFirstName(String firstName) |
void |
setHasPostalAddress(Boolean hasPostalAddress) |
void |
setId(Long id) |
void |
setLastName(String lastName) |
void |
setLatitude(Double latitude) |
void |
setLocale(String locale) |
void |
setLogo(Image logo) |
void |
setLongitude(Double longitude) |
void |
setMiddleName(String middleName) |
void |
setModificationDate(Date modificationDate) |
void |
setNewsletter(Boolean newsletter) |
void |
setNumberOfDays(Integer numberOfDays) |
void |
setPostalAddress(ContactCardPostalAddress postalAddress) |
void |
setPostcode(String postcode) |
void |
setPrefix(String prefix) |
void |
setStreet(String street) |
void |
setSuffix(String suffix) |
void |
setTaxId(String taxId) |
void |
setVatId(String vatId) |
void |
setVatPayer(Boolean vatPayer) |
public Long getId()
public void setId(Long id)
public String getContactEmail()
getContactEmail in interface Contactpublic void setContactEmail(String contactEmail)
public String getCcEmail()
getCcEmail in interface Contactpublic void setCcEmail(String ccEmail)
public String getContactPhone()
getContactPhone in interface Contactpublic void setContactPhone(String contactPhone)
public String getLocale()
public void setLocale(String locale)
public String getPrefix()
public void setPrefix(String prefix)
public String getFirstName()
getFirstName in interface Contactpublic void setFirstName(String firstName)
public String getMiddleName()
getMiddleName in interface Contactpublic void setMiddleName(String middleName)
public String getLastName()
getLastName in interface Contactpublic void setLastName(String lastName)
public String getSuffix()
public void setSuffix(String suffix)
public String getStreet()
public void setStreet(String street)
public void setCity(String city)
public String getCountry()
getCountry in interface Contactpublic void setCountry(String country)
public String getPostcode()
getPostcode in interface Contactpublic void setPostcode(String postcode)
public Double getLatitude()
public void setLatitude(Double latitude)
public Double getLongitude()
public void setLongitude(Double longitude)
public Boolean getHasPostalAddress()
public void setHasPostalAddress(Boolean hasPostalAddress)
public ContactCardPostalAddress getPostalAddress()
public void setPostalAddress(ContactCardPostalAddress postalAddress)
public Boolean getCompany()
getCompany in interface Contactpublic void setCompany(Boolean company)
public String getBusinessName()
getBusinessName in interface Contactpublic void setBusinessName(String businessName)
public String getCompanyId()
getCompanyId in interface Contactpublic void setCompanyId(String companyId)
public String getTaxId()
public void setTaxId(String taxId)
public String getVatId()
public void setVatId(String vatId)
public Boolean getVatPayer()
public void setVatPayer(Boolean vatPayer)
public Boolean getNewsletter()
public void setNewsletter(Boolean newsletter)
public Integer getNumberOfDays()
public void setNumberOfDays(Integer numberOfDays)
public Date getModificationDate()
public void setModificationDate(Date modificationDate)
public Image getLogo()
public void setLogo(Image logo)
Copyright © 2020. All rights reserved.