Class Trust


  • public class Trust
    extends Object
    Trust
    • Constructor Detail

      • Trust

        public Trust()
    • Method Detail

      • countryOfGoverningLaw

        public Trust 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 Trust 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 -
      • doingBusinessAs

        public Trust 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 -
      • getName

        public String getName()
        The legal name.
        Returns:
        name
      • setName

        public void setName​(String name)
        The legal name.
        Parameters:
        name -
      • principalPlaceOfBusiness

        public Trust principalPlaceOfBusiness​(Address principalPlaceOfBusiness)
      • getPrincipalPlaceOfBusiness

        public Address getPrincipalPlaceOfBusiness()
        Get principalPlaceOfBusiness
        Returns:
        principalPlaceOfBusiness
      • setPrincipalPlaceOfBusiness

        public void setPrincipalPlaceOfBusiness​(Address principalPlaceOfBusiness)
        principalPlaceOfBusiness
        Parameters:
        principalPlaceOfBusiness -
      • registeredAddress

        public Trust registeredAddress​(Address registeredAddress)
      • getRegisteredAddress

        public Address getRegisteredAddress()
        Get registeredAddress
        Returns:
        registeredAddress
      • setRegisteredAddress

        public void setRegisteredAddress​(Address registeredAddress)
        registeredAddress
        Parameters:
        registeredAddress -
      • registrationNumber

        public Trust registrationNumber​(String registrationNumber)
      • getRegistrationNumber

        public String getRegistrationNumber()
        The registration number.
        Returns:
        registrationNumber
      • setRegistrationNumber

        public void setRegistrationNumber​(String registrationNumber)
        The registration number.
        Parameters:
        registrationNumber -
      • getTaxAbsent

        public Boolean getTaxAbsent()
        The tax information is absent.
        Returns:
        taxAbsent
      • setTaxAbsent

        public void setTaxAbsent​(Boolean taxAbsent)
        The tax information is absent.
        Parameters:
        taxAbsent -
      • addTaxInformationItem

        public Trust 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 -
      • getType

        public Trust.TypeEnum getType()
        Type of trust. Possible values for Australian trusts: **cashManagementTrust**, **corporateUnitTrust**, **deceasedEstate**, **discretionaryInvestmentTrust**, **discretionaryServicesManagementTrust**, **discretionaryTradingTrust**, **firstHomeSaverAccountsTrust**, **fixedTrust**, **fixedUnitTrust**, **hybridTrust**, **listedPublicUnitTrust**, **otherTrust**, **pooledSuperannuationTrust**, **publicTradingTrust**, **unlistedPublicUnitTrust**.
        Returns:
        type
      • setType

        public void setType​(Trust.TypeEnum type)
        Type of trust. Possible values for Australian trusts: **cashManagementTrust**, **corporateUnitTrust**, **deceasedEstate**, **discretionaryInvestmentTrust**, **discretionaryServicesManagementTrust**, **discretionaryTradingTrust**, **firstHomeSaverAccountsTrust**, **fixedTrust**, **fixedUnitTrust**, **hybridTrust**, **listedPublicUnitTrust**, **otherTrust**, **pooledSuperannuationTrust**, **publicTradingTrust**, **unlistedPublicUnitTrust**.
        Parameters:
        type -
      • addUndefinedBeneficiaryInfoItem

        public Trust addUndefinedBeneficiaryInfoItem​(UndefinedBeneficiary undefinedBeneficiaryInfoItem)
      • getUndefinedBeneficiaryInfo

        public List<UndefinedBeneficiary> getUndefinedBeneficiaryInfo()
        The undefined beneficiary information of the entity.
        Returns:
        undefinedBeneficiaryInfo
      • setUndefinedBeneficiaryInfo

        public void setUndefinedBeneficiaryInfo​(List<UndefinedBeneficiary> undefinedBeneficiaryInfo)
        The undefined beneficiary information of the entity.
        Parameters:
        undefinedBeneficiaryInfo -
      • getVatAbsenceReason

        public Trust.VatAbsenceReasonEnum getVatAbsenceReason()
        The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.
        Returns:
        vatAbsenceReason
      • setVatAbsenceReason

        public void setVatAbsenceReason​(Trust.VatAbsenceReasonEnum vatAbsenceReason)
        The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.
        Parameters:
        vatAbsenceReason -
      • vatNumber

        public Trust 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 Trust object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static Trust fromJson​(String jsonString)
                              throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of Trust given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Trust
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to Trust
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of Trust to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException