Package com.xero.models.payrollau
Class DeductionType
- java.lang.Object
-
- com.xero.models.payrollau.DeductionType
-
public class DeductionType extends Object
DeductionType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeductionType.DeductionCategoryEnumGets or Sets deductionCategory
-
Constructor Summary
Constructors Constructor Description DeductionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeductionTypeaccountCode(String accountCode)See AccountsDeductionTypecurrentRecord(Boolean currentRecord)Is the current recordDeductionTypedeductionCategory(DeductionType.DeductionCategoryEnum deductionCategory)deductionCategoryDeductionTypedeductionTypeID(UUID deductionTypeID)Xero identifierbooleanequals(Object o)StringgetAccountCode()See AccountsBooleangetCurrentRecord()Is the current recordDeductionType.DeductionCategoryEnumgetDeductionCategory()Get deductionCategoryUUIDgetDeductionTypeID()Xero identifierBooleangetIsExemptFromW1()Boolean to determine if the deduction type is reportable or exempt from W1StringgetName()Name of the earnings rate (max length = 100)BooleangetReducesSuper()Most deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.BooleangetReducesTax()Indicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.StringgetUpdatedDateUTC()Last modified timestamporg.threeten.bp.OffsetDateTimegetUpdatedDateUTCAsDate()Last modified timestampinthashCode()DeductionTypeisExemptFromW1(Boolean isExemptFromW1)Boolean to determine if the deduction type is reportable or exempt from W1DeductionTypename(String name)Name of the earnings rate (max length = 100)DeductionTypereducesSuper(Boolean reducesSuper)Most deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.DeductionTypereducesTax(Boolean reducesTax)Indicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.voidsetAccountCode(String accountCode)See AccountsvoidsetCurrentRecord(Boolean currentRecord)Is the current recordvoidsetDeductionCategory(DeductionType.DeductionCategoryEnum deductionCategory)deductionCategoryvoidsetDeductionTypeID(UUID deductionTypeID)Xero identifiervoidsetIsExemptFromW1(Boolean isExemptFromW1)Boolean to determine if the deduction type is reportable or exempt from W1voidsetName(String name)Name of the earnings rate (max length = 100)voidsetReducesSuper(Boolean reducesSuper)Most deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.voidsetReducesTax(Boolean reducesTax)Indicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.StringtoString()
-
-
-
Method Detail
-
name
public DeductionType name(String name)
Name of the earnings rate (max length = 100)- Parameters:
name- String- Returns:
- DeductionType
-
getName
public String getName()
Name of the earnings rate (max length = 100)- Returns:
- name
-
setName
public void setName(String name)
Name of the earnings rate (max length = 100)- Parameters:
name- String
-
accountCode
public DeductionType accountCode(String accountCode)
See Accounts- Parameters:
accountCode- String- Returns:
- DeductionType
-
getAccountCode
public String getAccountCode()
See Accounts- Returns:
- accountCode
-
setAccountCode
public void setAccountCode(String accountCode)
See Accounts- Parameters:
accountCode- String
-
reducesTax
public DeductionType reducesTax(Boolean reducesTax)
Indicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.- Parameters:
reducesTax- Boolean- Returns:
- DeductionType
-
getReducesTax
public Boolean getReducesTax()
Indicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.- Returns:
- reducesTax
-
setReducesTax
public void setReducesTax(Boolean reducesTax)
Indicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.- Parameters:
reducesTax- Boolean
-
reducesSuper
public DeductionType reducesSuper(Boolean reducesSuper)
Most deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.- Parameters:
reducesSuper- Boolean- Returns:
- DeductionType
-
getReducesSuper
public Boolean getReducesSuper()
Most deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.- Returns:
- reducesSuper
-
setReducesSuper
public void setReducesSuper(Boolean reducesSuper)
Most deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.- Parameters:
reducesSuper- Boolean
-
isExemptFromW1
public DeductionType isExemptFromW1(Boolean isExemptFromW1)
Boolean to determine if the deduction type is reportable or exempt from W1- Parameters:
isExemptFromW1- Boolean- Returns:
- DeductionType
-
getIsExemptFromW1
public Boolean getIsExemptFromW1()
Boolean to determine if the deduction type is reportable or exempt from W1- Returns:
- isExemptFromW1
-
setIsExemptFromW1
public void setIsExemptFromW1(Boolean isExemptFromW1)
Boolean to determine if the deduction type is reportable or exempt from W1- Parameters:
isExemptFromW1- Boolean
-
deductionTypeID
public DeductionType deductionTypeID(UUID deductionTypeID)
Xero identifier- Parameters:
deductionTypeID- UUID- Returns:
- DeductionType
-
getDeductionTypeID
public UUID getDeductionTypeID()
Xero identifier- Returns:
- deductionTypeID
-
setDeductionTypeID
public void setDeductionTypeID(UUID deductionTypeID)
Xero identifier- Parameters:
deductionTypeID- UUID
-
getUpdatedDateUTC
public String getUpdatedDateUTC()
Last modified timestamp- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
Last modified timestamp- Returns:
- OffsetDateTime
-
deductionCategory
public DeductionType deductionCategory(DeductionType.DeductionCategoryEnum deductionCategory)
deductionCategory- Parameters:
deductionCategory- DeductionCategoryEnum- Returns:
- DeductionType
-
getDeductionCategory
public DeductionType.DeductionCategoryEnum getDeductionCategory()
Get deductionCategory- Returns:
- deductionCategory
-
setDeductionCategory
public void setDeductionCategory(DeductionType.DeductionCategoryEnum deductionCategory)
deductionCategory- Parameters:
deductionCategory- DeductionCategoryEnum
-
currentRecord
public DeductionType currentRecord(Boolean currentRecord)
Is the current record- Parameters:
currentRecord- Boolean- Returns:
- DeductionType
-
getCurrentRecord
public Boolean getCurrentRecord()
Is the current record- Returns:
- currentRecord
-
setCurrentRecord
public void setCurrentRecord(Boolean currentRecord)
Is the current record- Parameters:
currentRecord- Boolean
-
-