Package com.xero.models.payrollau
Class SuperFund
- java.lang.Object
-
- com.xero.models.payrollau.SuperFund
-
public class SuperFund extends Object
SuperFund
-
-
Constructor Summary
Constructors Constructor Description SuperFund()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SuperFundABN(String ABN)ABN of the self managed super fundSuperFundaccountName(String accountName)The account name for the self managed super fund.SuperFundaccountNumber(String accountNumber)The account number for the self managed super fund.SuperFundaddValidationErrorsItem(ValidationError validationErrorsItem)Displays array of validation error messages from the APISuperFundBSB(String BSB)BSB of the self managed super fundSuperFundelectronicServiceAddress(String electronicServiceAddress)The electronic service address for the self managed super fund.SuperFundemployerNumber(String employerNumber)Some funds assign a unique number to each employerbooleanequals(Object o)StringgetABN()ABN of the self managed super fundStringgetAccountName()The account name for the self managed super fund.StringgetAccountNumber()The account number for the self managed super fund.StringgetBSB()BSB of the self managed super fundStringgetElectronicServiceAddress()The electronic service address for the self managed super fund.StringgetEmployerNumber()Some funds assign a unique number to each employerStringgetName()Name of the super fundStringgetSPIN()The SPIN of the Regulated SuperFund.UUIDgetSuperFundID()Xero identifier for a super fundSuperFundTypegetType()Get typeStringgetUpdatedDateUTC()Last modified timestamporg.threeten.bp.OffsetDateTimegetUpdatedDateUTCAsDate()Last modified timestampStringgetUSI()The USI of the Regulated SuperFundList<ValidationError>getValidationErrors()Displays array of validation error messages from the APIinthashCode()SuperFundname(String name)Name of the super fundvoidsetABN(String ABN)ABN of the self managed super fundvoidsetAccountName(String accountName)The account name for the self managed super fund.voidsetAccountNumber(String accountNumber)The account number for the self managed super fund.voidsetBSB(String BSB)BSB of the self managed super fundvoidsetElectronicServiceAddress(String electronicServiceAddress)The electronic service address for the self managed super fund.voidsetEmployerNumber(String employerNumber)Some funds assign a unique number to each employervoidsetName(String name)Name of the super fundvoidsetSPIN(String SPIN)The SPIN of the Regulated SuperFund.voidsetSuperFundID(UUID superFundID)Xero identifier for a super fundvoidsetType(SuperFundType type)typevoidsetUSI(String USI)The USI of the Regulated SuperFundvoidsetValidationErrors(List<ValidationError> validationErrors)Displays array of validation error messages from the APISuperFundSPIN(String SPIN)The SPIN of the Regulated SuperFund.SuperFundsuperFundID(UUID superFundID)Xero identifier for a super fundStringtoString()SuperFundtype(SuperFundType type)typeSuperFundUSI(String USI)The USI of the Regulated SuperFundSuperFundvalidationErrors(List<ValidationError> validationErrors)Displays array of validation error messages from the API
-
-
-
Method Detail
-
superFundID
public SuperFund superFundID(UUID superFundID)
Xero identifier for a super fund- Parameters:
superFundID- UUID- Returns:
- SuperFund
-
getSuperFundID
public UUID getSuperFundID()
Xero identifier for a super fund- Returns:
- superFundID
-
setSuperFundID
public void setSuperFundID(UUID superFundID)
Xero identifier for a super fund- Parameters:
superFundID- UUID
-
type
public SuperFund type(SuperFundType type)
type- Parameters:
type- SuperFundType- Returns:
- SuperFund
-
getType
public SuperFundType getType()
Get type- Returns:
- type
-
setType
public void setType(SuperFundType type)
type- Parameters:
type- SuperFundType
-
name
public SuperFund name(String name)
Name of the super fund- Parameters:
name- String- Returns:
- SuperFund
-
getName
public String getName()
Name of the super fund- Returns:
- name
-
setName
public void setName(String name)
Name of the super fund- Parameters:
name- String
-
ABN
public SuperFund ABN(String ABN)
ABN of the self managed super fund- Parameters:
ABN- String- Returns:
- SuperFund
-
getABN
public String getABN()
ABN of the self managed super fund- Returns:
- ABN
-
setABN
public void setABN(String ABN)
ABN of the self managed super fund- Parameters:
ABN- String
-
BSB
public SuperFund BSB(String BSB)
BSB of the self managed super fund- Parameters:
BSB- String- Returns:
- SuperFund
-
getBSB
public String getBSB()
BSB of the self managed super fund- Returns:
- BSB
-
setBSB
public void setBSB(String BSB)
BSB of the self managed super fund- Parameters:
BSB- String
-
accountNumber
public SuperFund accountNumber(String accountNumber)
The account number for the self managed super fund.- Parameters:
accountNumber- String- Returns:
- SuperFund
-
getAccountNumber
public String getAccountNumber()
The account number for the self managed super fund.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
The account number for the self managed super fund.- Parameters:
accountNumber- String
-
accountName
public SuperFund accountName(String accountName)
The account name for the self managed super fund.- Parameters:
accountName- String- Returns:
- SuperFund
-
getAccountName
public String getAccountName()
The account name for the self managed super fund.- Returns:
- accountName
-
setAccountName
public void setAccountName(String accountName)
The account name for the self managed super fund.- Parameters:
accountName- String
-
electronicServiceAddress
public SuperFund electronicServiceAddress(String electronicServiceAddress)
The electronic service address for the self managed super fund.- Parameters:
electronicServiceAddress- String- Returns:
- SuperFund
-
getElectronicServiceAddress
public String getElectronicServiceAddress()
The electronic service address for the self managed super fund.- Returns:
- electronicServiceAddress
-
setElectronicServiceAddress
public void setElectronicServiceAddress(String electronicServiceAddress)
The electronic service address for the self managed super fund.- Parameters:
electronicServiceAddress- String
-
employerNumber
public SuperFund employerNumber(String employerNumber)
Some funds assign a unique number to each employer- Parameters:
employerNumber- String- Returns:
- SuperFund
-
getEmployerNumber
public String getEmployerNumber()
Some funds assign a unique number to each employer- Returns:
- employerNumber
-
setEmployerNumber
public void setEmployerNumber(String employerNumber)
Some funds assign a unique number to each employer- Parameters:
employerNumber- String
-
SPIN
public SuperFund SPIN(String SPIN)
The SPIN of the Regulated SuperFund. This field has been deprecated. It will only be present for legacy superfunds. New superfunds will not have a SPIN value. The USI field should be used instead of SPIN.- Parameters:
SPIN- String- Returns:
- SuperFund
-
getSPIN
public String getSPIN()
The SPIN of the Regulated SuperFund. This field has been deprecated. It will only be present for legacy superfunds. New superfunds will not have a SPIN value. The USI field should be used instead of SPIN.- Returns:
- SPIN
-
setSPIN
public void setSPIN(String SPIN)
The SPIN of the Regulated SuperFund. This field has been deprecated. It will only be present for legacy superfunds. New superfunds will not have a SPIN value. The USI field should be used instead of SPIN.- Parameters:
SPIN- String
-
USI
public SuperFund USI(String USI)
The USI of the Regulated SuperFund- Parameters:
USI- String- Returns:
- SuperFund
-
getUSI
public String getUSI()
The USI of the Regulated SuperFund- Returns:
- USI
-
setUSI
public void setUSI(String USI)
The USI of the Regulated SuperFund- Parameters:
USI- String
-
getUpdatedDateUTC
public String getUpdatedDateUTC()
Last modified timestamp- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
Last modified timestamp- Returns:
- OffsetDateTime
-
validationErrors
public SuperFund validationErrors(List<ValidationError> validationErrors)
Displays array of validation error messages from the API- Parameters:
validationErrors- List<ValidationError>- Returns:
- SuperFund
-
addValidationErrorsItem
public SuperFund addValidationErrorsItem(ValidationError validationErrorsItem)
Displays array of validation error messages from the API- Parameters:
validationErrorsItem- ValidationError- Returns:
- SuperFund
-
getValidationErrors
public List<ValidationError> getValidationErrors()
Displays array of validation error messages from the API- Returns:
- validationErrors
-
setValidationErrors
public void setValidationErrors(List<ValidationError> validationErrors)
Displays array of validation error messages from the API- Parameters:
validationErrors- List<ValidationError>
-
-