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
Modifier and Type Method Description DeductionTypeaccountCode(String accountCode)DeductionTypecurrentRecord(Boolean currentRecord)DeductionTypedeductionCategory(DeductionType.DeductionCategoryEnum deductionCategory)DeductionTypedeductionTypeID(UUID deductionTypeID)booleanequals(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()inthashCode()DeductionTypeisExemptFromW1(Boolean isExemptFromW1)DeductionTypename(String name)DeductionTypereducesSuper(Boolean reducesSuper)DeductionTypereducesTax(Boolean reducesTax)voidsetAccountCode(String accountCode)voidsetCurrentRecord(Boolean currentRecord)voidsetDeductionCategory(DeductionType.DeductionCategoryEnum deductionCategory)voidsetDeductionTypeID(UUID deductionTypeID)voidsetIsExemptFromW1(Boolean isExemptFromW1)voidsetName(String name)voidsetReducesSuper(Boolean reducesSuper)voidsetReducesTax(Boolean reducesTax)StringtoString()
-
Constructor Details
-
DeductionType
public DeductionType()
-
-
Method Details
-
name
-
getName
Name of the earnings rate (max length = 100)- Returns:
- name
-
setName
-
accountCode
-
getAccountCode
See Accounts- Returns:
- accountCode
-
setAccountCode
-
reducesTax
-
getReducesTax
Indicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.- Returns:
- reducesTax
-
setReducesTax
-
reducesSuper
-
getReducesSuper
Most deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.- Returns:
- reducesSuper
-
setReducesSuper
-
isExemptFromW1
-
getIsExemptFromW1
Boolean to determine if the deduction type is reportable or exempt from W1- Returns:
- isExemptFromW1
-
setIsExemptFromW1
-
deductionTypeID
-
getDeductionTypeID
Xero identifier- Returns:
- deductionTypeID
-
setDeductionTypeID
-
getUpdatedDateUTC
Last modified timestamp- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate() -
deductionCategory
-
getDeductionCategory
Get deductionCategory- Returns:
- deductionCategory
-
setDeductionCategory
-
currentRecord
-
getCurrentRecord
Is the current record- Returns:
- currentRecord
-
setCurrentRecord
-
equals
-
hashCode
public int hashCode() -
toString
-