Package com.xero.models.payrollau
Class TaxLine
- java.lang.Object
-
- com.xero.models.payrollau.TaxLine
-
public class TaxLine extends Object
TaxLine
-
-
Constructor Summary
Constructors Constructor Description TaxLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaxLineamount(Double amount)The tax line amountTaxLinedescription(String description)Description of the tax line.booleanequals(Object o)DoublegetAmount()The tax line amountStringgetDescription()Description of the tax line.StringgetLiabilityAccount()The tax line liability account code.ManualTaxTypegetManualTaxType()Get manualTaxTypeUUIDgetPayslipTaxLineID()Xero identifier for payslip tax line ID.StringgetTaxTypeName()Name of the tax type.inthashCode()TaxLineliabilityAccount(String liabilityAccount)The tax line liability account code.TaxLinemanualTaxType(ManualTaxType manualTaxType)manualTaxTypeTaxLinepayslipTaxLineID(UUID payslipTaxLineID)Xero identifier for payslip tax line ID.voidsetAmount(Double amount)The tax line amountvoidsetDescription(String description)Description of the tax line.voidsetLiabilityAccount(String liabilityAccount)The tax line liability account code.voidsetManualTaxType(ManualTaxType manualTaxType)manualTaxTypevoidsetPayslipTaxLineID(UUID payslipTaxLineID)Xero identifier for payslip tax line ID.voidsetTaxTypeName(String taxTypeName)Name of the tax type.TaxLinetaxTypeName(String taxTypeName)Name of the tax type.StringtoString()
-
-
-
Method Detail
-
payslipTaxLineID
public TaxLine payslipTaxLineID(UUID payslipTaxLineID)
Xero identifier for payslip tax line ID.- Parameters:
payslipTaxLineID- UUID- Returns:
- TaxLine
-
getPayslipTaxLineID
public UUID getPayslipTaxLineID()
Xero identifier for payslip tax line ID.- Returns:
- payslipTaxLineID
-
setPayslipTaxLineID
public void setPayslipTaxLineID(UUID payslipTaxLineID)
Xero identifier for payslip tax line ID.- Parameters:
payslipTaxLineID- UUID
-
amount
public TaxLine amount(Double amount)
The tax line amount- Parameters:
amount- Double- Returns:
- TaxLine
-
getAmount
public Double getAmount()
The tax line amount- Returns:
- amount
-
setAmount
public void setAmount(Double amount)
The tax line amount- Parameters:
amount- Double
-
taxTypeName
public TaxLine taxTypeName(String taxTypeName)
Name of the tax type.- Parameters:
taxTypeName- String- Returns:
- TaxLine
-
getTaxTypeName
public String getTaxTypeName()
Name of the tax type.- Returns:
- taxTypeName
-
setTaxTypeName
public void setTaxTypeName(String taxTypeName)
Name of the tax type.- Parameters:
taxTypeName- String
-
description
public TaxLine description(String description)
Description of the tax line.- Parameters:
description- String- Returns:
- TaxLine
-
getDescription
public String getDescription()
Description of the tax line.- Returns:
- description
-
setDescription
public void setDescription(String description)
Description of the tax line.- Parameters:
description- String
-
manualTaxType
public TaxLine manualTaxType(ManualTaxType manualTaxType)
manualTaxType- Parameters:
manualTaxType- ManualTaxType- Returns:
- TaxLine
-
getManualTaxType
public ManualTaxType getManualTaxType()
Get manualTaxType- Returns:
- manualTaxType
-
setManualTaxType
public void setManualTaxType(ManualTaxType manualTaxType)
manualTaxType- Parameters:
manualTaxType- ManualTaxType
-
liabilityAccount
public TaxLine liabilityAccount(String liabilityAccount)
The tax line liability account code. For posted pay run you should be able to see liability account code- Parameters:
liabilityAccount- String- Returns:
- TaxLine
-
getLiabilityAccount
public String getLiabilityAccount()
The tax line liability account code. For posted pay run you should be able to see liability account code- Returns:
- liabilityAccount
-
setLiabilityAccount
public void setLiabilityAccount(String liabilityAccount)
The tax line liability account code. For posted pay run you should be able to see liability account code- Parameters:
liabilityAccount- String
-
-