Package com.xero.models.payrollau
Class DeductionType
java.lang.Object
com.xero.models.payrollau.DeductionType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets deductionCategory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountCode(String accountCode) See AccountscurrentRecord(Boolean currentRecord) Is the current recorddeductionCategory(DeductionType.DeductionCategoryEnum deductionCategory) deductionCategorydeductionTypeID(UUID deductionTypeID) Xero identifierbooleanSee AccountsIs the current recordGet deductionCategoryXero identifierBoolean to determine if the deduction type is reportable or exempt from W1getName()Name of the earnings rate (max length = 100)Most deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.Indicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.Last modified timestamporg.threeten.bp.OffsetDateTimeLast modified timestampinthashCode()isExemptFromW1(Boolean isExemptFromW1) Boolean to determine if the deduction type is reportable or exempt from W1Name of the earnings rate (max length = 100)reducesSuper(Boolean reducesSuper) Most deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.reducesTax(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 W1voidName 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.toString()
-
Constructor Details
-
DeductionType
public DeductionType()
-
-
Method Details
-
name
Name of the earnings rate (max length = 100)- Parameters:
name- String- Returns:
- DeductionType
-
getName
-
setName
Name of the earnings rate (max length = 100)- Parameters:
name- String
-
accountCode
See Accounts- Parameters:
accountCode- String- Returns:
- DeductionType
-
getAccountCode
-
setAccountCode
-
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
Indicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.- Returns:
- reducesTax
-
setReducesTax
Indicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.- Parameters:
reducesTax- 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
Most deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.- Returns:
- reducesSuper
-
setReducesSuper
Most deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.- Parameters:
reducesSuper- Boolean
-
isExemptFromW1
Boolean to determine if the deduction type is reportable or exempt from W1- Parameters:
isExemptFromW1- Boolean- Returns:
- DeductionType
-
getIsExemptFromW1
Boolean to determine if the deduction type is reportable or exempt from W1- Returns:
- isExemptFromW1
-
setIsExemptFromW1
Boolean to determine if the deduction type is reportable or exempt from W1- Parameters:
isExemptFromW1- Boolean
-
deductionTypeID
Xero identifier- Parameters:
deductionTypeID- UUID- Returns:
- DeductionType
-
getDeductionTypeID
-
setDeductionTypeID
Xero identifier- Parameters:
deductionTypeID- UUID
-
getUpdatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()Last modified timestamp- Returns:
- OffsetDateTime
-
deductionCategory
deductionCategory- Parameters:
deductionCategory- DeductionCategoryEnum- Returns:
- DeductionType
-
getDeductionCategory
Get deductionCategory- Returns:
- deductionCategory
-
setDeductionCategory
deductionCategory- Parameters:
deductionCategory- DeductionCategoryEnum
-
currentRecord
Is the current record- Parameters:
currentRecord- Boolean- Returns:
- DeductionType
-
getCurrentRecord
-
setCurrentRecord
Is the current record- Parameters:
currentRecord- Boolean
-
equals
-
hashCode
-
toString
-