Class Organization
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.Organization
-
public class Organization extends Object
Organization
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrganization.TypeEnumType of organization.static classOrganization.VatAbsenceReasonEnumThe reason the organization has not provided a VAT number.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COUNTRY_OF_GOVERNING_LAWstatic StringJSON_PROPERTY_DATE_OF_INCORPORATIONstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_DOING_BUSINESS_ASstatic StringJSON_PROPERTY_EMAILstatic StringJSON_PROPERTY_LEGAL_NAMEstatic StringJSON_PROPERTY_PHONEstatic StringJSON_PROPERTY_PRINCIPAL_PLACE_OF_BUSINESSstatic StringJSON_PROPERTY_REGISTERED_ADDRESSstatic StringJSON_PROPERTY_REGISTRATION_NUMBERstatic StringJSON_PROPERTY_STOCK_DATAstatic StringJSON_PROPERTY_TAX_INFORMATIONstatic StringJSON_PROPERTY_TAX_REPORTING_CLASSIFICATIONstatic StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_VAT_ABSENCE_REASONstatic StringJSON_PROPERTY_VAT_NUMBERstatic StringJSON_PROPERTY_WEB_DATA
-
Constructor Summary
Constructors Constructor Description Organization()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OrganizationaddTaxInformationItem(TaxInformation taxInformationItem)OrganizationcountryOfGoverningLaw(String countryOfGoverningLaw)OrganizationdateOfIncorporation(String dateOfIncorporation)Organizationdescription(String description)OrganizationdoingBusinessAs(String doingBusinessAs)Organizationemail(String email)booleanequals(Object o)Return true if this Organization object is equal to o.static OrganizationfromJson(String jsonString)Create an instance of Organization given an JSON stringStringgetCountryOfGoverningLaw()The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country.StringgetDateOfIncorporation()The date when the organization was incorporated in YYYY-MM-DD format.StringgetDescription()Your description for the organization.StringgetDoingBusinessAs()The organization's trading name, if different from the registered legal name.StringgetEmail()The email address of the legal entity.StringgetLegalName()The organization's legal name.PhoneNumbergetPhone()Get phoneAddressgetPrincipalPlaceOfBusiness()Get principalPlaceOfBusinessAddressgetRegisteredAddress()Get registeredAddressStringgetRegistrationNumber()The organization's registration number.StockDatagetStockData()Get stockDataList<TaxInformation>getTaxInformation()The tax information of the organization.TaxReportingClassificationgetTaxReportingClassification()Get taxReportingClassificationOrganization.TypeEnumgetType()Type of organization.Organization.VatAbsenceReasonEnumgetVatAbsenceReason()The reason the organization has not provided a VAT number.StringgetVatNumber()The organization's VAT number.WebDatagetWebData()Get webDatainthashCode()OrganizationlegalName(String legalName)Organizationphone(PhoneNumber phone)OrganizationprincipalPlaceOfBusiness(Address principalPlaceOfBusiness)OrganizationregisteredAddress(Address registeredAddress)OrganizationregistrationNumber(String registrationNumber)voidsetCountryOfGoverningLaw(String countryOfGoverningLaw)The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country.voidsetDateOfIncorporation(String dateOfIncorporation)The date when the organization was incorporated in YYYY-MM-DD format.voidsetDescription(String description)Your description for the organization.voidsetDoingBusinessAs(String doingBusinessAs)The organization's trading name, if different from the registered legal name.voidsetEmail(String email)The email address of the legal entity.voidsetLegalName(String legalName)The organization's legal name.voidsetPhone(PhoneNumber phone)phonevoidsetPrincipalPlaceOfBusiness(Address principalPlaceOfBusiness)principalPlaceOfBusinessvoidsetRegisteredAddress(Address registeredAddress)registeredAddressvoidsetRegistrationNumber(String registrationNumber)The organization's registration number.voidsetStockData(StockData stockData)stockDatavoidsetTaxInformation(List<TaxInformation> taxInformation)The tax information of the organization.voidsetTaxReportingClassification(TaxReportingClassification taxReportingClassification)taxReportingClassificationvoidsetType(Organization.TypeEnum type)Type of organization.voidsetVatAbsenceReason(Organization.VatAbsenceReasonEnum vatAbsenceReason)The reason the organization has not provided a VAT number.voidsetVatNumber(String vatNumber)The organization's VAT number.voidsetWebData(WebData webData)webDataOrganizationstockData(StockData stockData)OrganizationtaxInformation(List<TaxInformation> taxInformation)OrganizationtaxReportingClassification(TaxReportingClassification taxReportingClassification)StringtoJson()Convert an instance of Organization to an JSON stringStringtoString()Organizationtype(Organization.TypeEnum type)OrganizationvatAbsenceReason(Organization.VatAbsenceReasonEnum vatAbsenceReason)OrganizationvatNumber(String vatNumber)OrganizationwebData(WebData webData)
-
-
-
Field Detail
-
JSON_PROPERTY_COUNTRY_OF_GOVERNING_LAW
public static final String JSON_PROPERTY_COUNTRY_OF_GOVERNING_LAW
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DATE_OF_INCORPORATION
public static final String JSON_PROPERTY_DATE_OF_INCORPORATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DOING_BUSINESS_AS
public static final String JSON_PROPERTY_DOING_BUSINESS_AS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EMAIL
public static final String JSON_PROPERTY_EMAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEGAL_NAME
public static final String JSON_PROPERTY_LEGAL_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PHONE
public static final String JSON_PROPERTY_PHONE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRINCIPAL_PLACE_OF_BUSINESS
public static final String JSON_PROPERTY_PRINCIPAL_PLACE_OF_BUSINESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REGISTERED_ADDRESS
public static final String JSON_PROPERTY_REGISTERED_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REGISTRATION_NUMBER
public static final String JSON_PROPERTY_REGISTRATION_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STOCK_DATA
public static final String JSON_PROPERTY_STOCK_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TAX_INFORMATION
public static final String JSON_PROPERTY_TAX_INFORMATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TAX_REPORTING_CLASSIFICATION
public static final String JSON_PROPERTY_TAX_REPORTING_CLASSIFICATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VAT_ABSENCE_REASON
public static final String JSON_PROPERTY_VAT_ABSENCE_REASON
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VAT_NUMBER
public static final String JSON_PROPERTY_VAT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WEB_DATA
public static final String JSON_PROPERTY_WEB_DATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
countryOfGoverningLaw
public Organization countryOfGoverningLaw(String countryOfGoverningLaw)
-
getCountryOfGoverningLaw
public String getCountryOfGoverningLaw()
The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country.- Returns:
- countryOfGoverningLaw
-
setCountryOfGoverningLaw
public void setCountryOfGoverningLaw(String countryOfGoverningLaw)
The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country.- Parameters:
countryOfGoverningLaw-
-
dateOfIncorporation
public Organization dateOfIncorporation(String dateOfIncorporation)
-
getDateOfIncorporation
public String getDateOfIncorporation()
The date when the organization was incorporated in YYYY-MM-DD format.- Returns:
- dateOfIncorporation
-
setDateOfIncorporation
public void setDateOfIncorporation(String dateOfIncorporation)
The date when the organization was incorporated in YYYY-MM-DD format.- Parameters:
dateOfIncorporation-
-
description
public Organization description(String description)
-
getDescription
public String getDescription()
Your description for the organization.- Returns:
- description
-
setDescription
public void setDescription(String description)
Your description for the organization.- Parameters:
description-
-
doingBusinessAs
public Organization doingBusinessAs(String doingBusinessAs)
-
getDoingBusinessAs
public String getDoingBusinessAs()
The organization's trading name, if different from the registered legal name.- Returns:
- doingBusinessAs
-
setDoingBusinessAs
public void setDoingBusinessAs(String doingBusinessAs)
The organization's trading name, if different from the registered legal name.- Parameters:
doingBusinessAs-
-
email
public Organization email(String email)
-
getEmail
public String getEmail()
The email address of the legal entity.- Returns:
-
setEmail
public void setEmail(String email)
The email address of the legal entity.- Parameters:
email-
-
legalName
public Organization legalName(String legalName)
-
getLegalName
public String getLegalName()
The organization's legal name.- Returns:
- legalName
-
setLegalName
public void setLegalName(String legalName)
The organization's legal name.- Parameters:
legalName-
-
phone
public Organization phone(PhoneNumber phone)
-
getPhone
public PhoneNumber getPhone()
Get phone- Returns:
- phone
-
setPhone
public void setPhone(PhoneNumber phone)
phone- Parameters:
phone-
-
principalPlaceOfBusiness
public Organization principalPlaceOfBusiness(Address principalPlaceOfBusiness)
-
getPrincipalPlaceOfBusiness
public Address getPrincipalPlaceOfBusiness()
Get principalPlaceOfBusiness- Returns:
- principalPlaceOfBusiness
-
setPrincipalPlaceOfBusiness
public void setPrincipalPlaceOfBusiness(Address principalPlaceOfBusiness)
principalPlaceOfBusiness- Parameters:
principalPlaceOfBusiness-
-
registeredAddress
public Organization registeredAddress(Address registeredAddress)
-
getRegisteredAddress
public Address getRegisteredAddress()
Get registeredAddress- Returns:
- registeredAddress
-
setRegisteredAddress
public void setRegisteredAddress(Address registeredAddress)
registeredAddress- Parameters:
registeredAddress-
-
registrationNumber
public Organization registrationNumber(String registrationNumber)
-
getRegistrationNumber
public String getRegistrationNumber()
The organization's registration number.- Returns:
- registrationNumber
-
setRegistrationNumber
public void setRegistrationNumber(String registrationNumber)
The organization's registration number.- Parameters:
registrationNumber-
-
stockData
public Organization stockData(StockData stockData)
-
getStockData
public StockData getStockData()
Get stockData- Returns:
- stockData
-
setStockData
public void setStockData(StockData stockData)
stockData- Parameters:
stockData-
-
taxInformation
public Organization taxInformation(List<TaxInformation> taxInformation)
-
addTaxInformationItem
public Organization addTaxInformationItem(TaxInformation taxInformationItem)
-
getTaxInformation
public List<TaxInformation> getTaxInformation()
The tax information of the organization.- Returns:
- taxInformation
-
setTaxInformation
public void setTaxInformation(List<TaxInformation> taxInformation)
The tax information of the organization.- Parameters:
taxInformation-
-
taxReportingClassification
public Organization taxReportingClassification(TaxReportingClassification taxReportingClassification)
-
getTaxReportingClassification
public TaxReportingClassification getTaxReportingClassification()
Get taxReportingClassification- Returns:
- taxReportingClassification
-
setTaxReportingClassification
public void setTaxReportingClassification(TaxReportingClassification taxReportingClassification)
taxReportingClassification- Parameters:
taxReportingClassification-
-
type
public Organization type(Organization.TypeEnum type)
-
getType
public Organization.TypeEnum getType()
Type of organization. Possible values: **associationIncorporated**, **governmentalOrganization**, **listedPublicCompany**, **nonProfit**, **partnershipIncorporated**, **privateCompany**.- Returns:
- type
-
setType
public void setType(Organization.TypeEnum type)
Type of organization. Possible values: **associationIncorporated**, **governmentalOrganization**, **listedPublicCompany**, **nonProfit**, **partnershipIncorporated**, **privateCompany**.- Parameters:
type-
-
vatAbsenceReason
public Organization vatAbsenceReason(Organization.VatAbsenceReasonEnum vatAbsenceReason)
-
getVatAbsenceReason
public Organization.VatAbsenceReasonEnum getVatAbsenceReason()
The reason the organization has not provided a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.- Returns:
- vatAbsenceReason
-
setVatAbsenceReason
public void setVatAbsenceReason(Organization.VatAbsenceReasonEnum vatAbsenceReason)
The reason the organization has not provided a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.- Parameters:
vatAbsenceReason-
-
vatNumber
public Organization vatNumber(String vatNumber)
-
getVatNumber
public String getVatNumber()
The organization's VAT number.- Returns:
- vatNumber
-
setVatNumber
public void setVatNumber(String vatNumber)
The organization's VAT number.- Parameters:
vatNumber-
-
webData
public Organization webData(WebData webData)
-
getWebData
public WebData getWebData()
Get webData- Returns:
- webData
-
setWebData
public void setWebData(WebData webData)
webData- Parameters:
webData-
-
equals
public boolean equals(Object o)
Return true if this Organization object is equal to o.
-
fromJson
public static Organization fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Organization given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Organization
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Organization
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Organization to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-