Class UnincorporatedPartnership
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.UnincorporatedPartnership
-
public class UnincorporatedPartnership extends Object
UnincorporatedPartnership
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnincorporatedPartnership.TypeEnumType of Partnership.static classUnincorporatedPartnership.VatAbsenceReasonEnumThe reason for not providing 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_NAMEstatic StringJSON_PROPERTY_PRINCIPAL_PLACE_OF_BUSINESSstatic StringJSON_PROPERTY_REGISTERED_ADDRESSstatic StringJSON_PROPERTY_REGISTRATION_NUMBERstatic StringJSON_PROPERTY_TAX_INFORMATIONstatic StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_VAT_ABSENCE_REASONstatic StringJSON_PROPERTY_VAT_NUMBER
-
Constructor Summary
Constructors Constructor Description UnincorporatedPartnership()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UnincorporatedPartnershipaddTaxInformationItem(TaxInformation taxInformationItem)UnincorporatedPartnershipcountryOfGoverningLaw(String countryOfGoverningLaw)UnincorporatedPartnershipdateOfIncorporation(String dateOfIncorporation)UnincorporatedPartnershipdescription(String description)UnincorporatedPartnershipdoingBusinessAs(String doingBusinessAs)booleanequals(Object o)Return true if this UnincorporatedPartnership object is equal to o.static UnincorporatedPartnershipfromJson(String jsonString)Create an instance of UnincorporatedPartnership 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 legal arrangement was incorporated in YYYY-MM-DD format.StringgetDescription()Short description about the Legal Arrangement.StringgetDoingBusinessAs()The registered name, if different from the `name`.StringgetName()The legal name.AddressgetPrincipalPlaceOfBusiness()Get principalPlaceOfBusinessAddressgetRegisteredAddress()Get registeredAddressStringgetRegistrationNumber()The registration number.List<TaxInformation>getTaxInformation()The tax information of the entity.UnincorporatedPartnership.TypeEnumgetType()Type of Partnership.UnincorporatedPartnership.VatAbsenceReasonEnumgetVatAbsenceReason()The reason for not providing a VAT number.StringgetVatNumber()The VAT number.inthashCode()UnincorporatedPartnershipname(String name)UnincorporatedPartnershipprincipalPlaceOfBusiness(Address principalPlaceOfBusiness)UnincorporatedPartnershipregisteredAddress(Address registeredAddress)UnincorporatedPartnershipregistrationNumber(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 legal arrangement was incorporated in YYYY-MM-DD format.voidsetDescription(String description)Short description about the Legal Arrangement.voidsetDoingBusinessAs(String doingBusinessAs)The registered name, if different from the `name`.voidsetName(String name)The legal name.voidsetPrincipalPlaceOfBusiness(Address principalPlaceOfBusiness)principalPlaceOfBusinessvoidsetRegisteredAddress(Address registeredAddress)registeredAddressvoidsetRegistrationNumber(String registrationNumber)The registration number.voidsetTaxInformation(List<TaxInformation> taxInformation)The tax information of the entity.voidsetType(UnincorporatedPartnership.TypeEnum type)Type of Partnership.voidsetVatAbsenceReason(UnincorporatedPartnership.VatAbsenceReasonEnum vatAbsenceReason)The reason for not providing a VAT number.voidsetVatNumber(String vatNumber)The VAT number.UnincorporatedPartnershiptaxInformation(List<TaxInformation> taxInformation)StringtoJson()Convert an instance of UnincorporatedPartnership to an JSON stringStringtoString()UnincorporatedPartnershiptype(UnincorporatedPartnership.TypeEnum type)UnincorporatedPartnershipvatAbsenceReason(UnincorporatedPartnership.VatAbsenceReasonEnum vatAbsenceReason)UnincorporatedPartnershipvatNumber(String vatNumber)
-
-
-
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_NAME
public static final String JSON_PROPERTY_NAME
- 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_TAX_INFORMATION
public static final String JSON_PROPERTY_TAX_INFORMATION
- 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
-
-
Method Detail
-
countryOfGoverningLaw
public UnincorporatedPartnership 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 UnincorporatedPartnership dateOfIncorporation(String dateOfIncorporation)
-
getDateOfIncorporation
public String getDateOfIncorporation()
The date when the legal arrangement was incorporated in YYYY-MM-DD format.- Returns:
- dateOfIncorporation
-
setDateOfIncorporation
public void setDateOfIncorporation(String dateOfIncorporation)
The date when the legal arrangement was incorporated in YYYY-MM-DD format.- Parameters:
dateOfIncorporation-
-
description
public UnincorporatedPartnership description(String description)
-
getDescription
public String getDescription()
Short description about the Legal Arrangement.- Returns:
- description
-
setDescription
public void setDescription(String description)
Short description about the Legal Arrangement.- Parameters:
description-
-
doingBusinessAs
public UnincorporatedPartnership doingBusinessAs(String doingBusinessAs)
-
getDoingBusinessAs
public String getDoingBusinessAs()
The registered name, if different from the `name`.- Returns:
- doingBusinessAs
-
setDoingBusinessAs
public void setDoingBusinessAs(String doingBusinessAs)
The registered name, if different from the `name`.- Parameters:
doingBusinessAs-
-
name
public UnincorporatedPartnership name(String name)
-
getName
public String getName()
The legal name.- Returns:
- name
-
setName
public void setName(String name)
The legal name.- Parameters:
name-
-
principalPlaceOfBusiness
public UnincorporatedPartnership principalPlaceOfBusiness(Address principalPlaceOfBusiness)
-
getPrincipalPlaceOfBusiness
public Address getPrincipalPlaceOfBusiness()
Get principalPlaceOfBusiness- Returns:
- principalPlaceOfBusiness
-
setPrincipalPlaceOfBusiness
public void setPrincipalPlaceOfBusiness(Address principalPlaceOfBusiness)
principalPlaceOfBusiness- Parameters:
principalPlaceOfBusiness-
-
registeredAddress
public UnincorporatedPartnership registeredAddress(Address registeredAddress)
-
getRegisteredAddress
public Address getRegisteredAddress()
Get registeredAddress- Returns:
- registeredAddress
-
setRegisteredAddress
public void setRegisteredAddress(Address registeredAddress)
registeredAddress- Parameters:
registeredAddress-
-
registrationNumber
public UnincorporatedPartnership registrationNumber(String registrationNumber)
-
getRegistrationNumber
public String getRegistrationNumber()
The registration number.- Returns:
- registrationNumber
-
setRegistrationNumber
public void setRegistrationNumber(String registrationNumber)
The registration number.- Parameters:
registrationNumber-
-
taxInformation
public UnincorporatedPartnership taxInformation(List<TaxInformation> taxInformation)
-
addTaxInformationItem
public UnincorporatedPartnership addTaxInformationItem(TaxInformation taxInformationItem)
-
getTaxInformation
public List<TaxInformation> getTaxInformation()
The tax information of the entity.- Returns:
- taxInformation
-
setTaxInformation
public void setTaxInformation(List<TaxInformation> taxInformation)
The tax information of the entity.- Parameters:
taxInformation-
-
type
public UnincorporatedPartnership type(UnincorporatedPartnership.TypeEnum type)
-
getType
public UnincorporatedPartnership.TypeEnum getType()
Type of Partnership. Possible values: * **limitedPartnership** * **generalPartnership** * **familyPartnership** * **commercialPartnership** * **publicPartnership** * **otherPartnership** * **gbr** * **gmbh** * **kgaa** * **cv** * **vof** * **maatschap** * **privateFundLimitedPartnership** * **businessTrustEntity** * **businessPartnership** * **limitedLiabilityPartnership** * **eg** * **cooperative** * **vos** * **comunidadDeBienes** * **herenciaYacente** * **comunidadDePropietarios** * **sep** * **sca** * **bt** * **kkt** * **scs** * **snc**- Returns:
- type
-
setType
public void setType(UnincorporatedPartnership.TypeEnum type)
Type of Partnership. Possible values: * **limitedPartnership** * **generalPartnership** * **familyPartnership** * **commercialPartnership** * **publicPartnership** * **otherPartnership** * **gbr** * **gmbh** * **kgaa** * **cv** * **vof** * **maatschap** * **privateFundLimitedPartnership** * **businessTrustEntity** * **businessPartnership** * **limitedLiabilityPartnership** * **eg** * **cooperative** * **vos** * **comunidadDeBienes** * **herenciaYacente** * **comunidadDePropietarios** * **sep** * **sca** * **bt** * **kkt** * **scs** * **snc**- Parameters:
type-
-
vatAbsenceReason
public UnincorporatedPartnership vatAbsenceReason(UnincorporatedPartnership.VatAbsenceReasonEnum vatAbsenceReason)
-
getVatAbsenceReason
public UnincorporatedPartnership.VatAbsenceReasonEnum getVatAbsenceReason()
The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.- Returns:
- vatAbsenceReason
-
setVatAbsenceReason
public void setVatAbsenceReason(UnincorporatedPartnership.VatAbsenceReasonEnum vatAbsenceReason)
The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.- Parameters:
vatAbsenceReason-
-
vatNumber
public UnincorporatedPartnership vatNumber(String vatNumber)
-
getVatNumber
public String getVatNumber()
The VAT number.- Returns:
- vatNumber
-
setVatNumber
public void setVatNumber(String vatNumber)
The VAT number.- Parameters:
vatNumber-
-
equals
public boolean equals(Object o)
Return true if this UnincorporatedPartnership object is equal to o.
-
fromJson
public static UnincorporatedPartnership fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of UnincorporatedPartnership given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UnincorporatedPartnership
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to UnincorporatedPartnership
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of UnincorporatedPartnership to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-