Class AccountingTaxRate
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.AccountingTaxRate
-
public class AccountingTaxRate extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountingTaxRate.Builder
-
Constructor Summary
Constructors Constructor Description AccountingTaxRate()AccountingTaxRate(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> code, org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> percentage, org.openapitools.jackson.nullable.JsonNullable<? extends AccountingTaxRateActive> active)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openapitools.jackson.nullable.JsonNullable<AccountingTaxRateActive>active()Whether the tax rate is activestatic AccountingTaxRate.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>code()External system's tax codeorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>companyId()ID of the company this tax rate belongs tobooleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>name()Name of the tax rateorg.openapitools.jackson.nullable.JsonNullable<java.lang.Double>percentage()Tax rate percentageorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierjava.lang.StringtoString()AccountingTaxRatewithActive(AccountingTaxRateActive active)Whether the tax rate is activeAccountingTaxRatewithActive(org.openapitools.jackson.nullable.JsonNullable<? extends AccountingTaxRateActive> active)Whether the tax rate is activeAccountingTaxRatewithCode(java.lang.String code)External system's tax codeAccountingTaxRatewithCode(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> code)External system's tax codeAccountingTaxRatewithCompanyId(java.lang.String companyId)ID of the company this tax rate belongs toAccountingTaxRatewithCompanyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)ID of the company this tax rate belongs toAccountingTaxRatewithId(java.lang.String id)Unique identifierAccountingTaxRatewithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierAccountingTaxRatewithName(java.lang.String name)Name of the tax rateAccountingTaxRatewithName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)Name of the tax rateAccountingTaxRatewithPercentage(double percentage)Tax rate percentageAccountingTaxRatewithPercentage(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> percentage)Tax rate percentageAccountingTaxRatewithRemoteId(java.lang.String remoteId)Provider's unique identifierAccountingTaxRatewithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifier
-
-
-
Constructor Detail
-
AccountingTaxRate
public AccountingTaxRate(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> code, org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> percentage, org.openapitools.jackson.nullable.JsonNullable<? extends AccountingTaxRateActive> active)
-
AccountingTaxRate
public AccountingTaxRate()
-
-
Method Detail
-
id
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
Unique identifier
-
remoteId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
Provider's unique identifier
-
companyId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId()
ID of the company this tax rate belongs to
-
name
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name()
Name of the tax rate
-
code
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> code()
External system's tax code
-
percentage
public org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> percentage()
Tax rate percentage
-
active
public org.openapitools.jackson.nullable.JsonNullable<AccountingTaxRateActive> active()
Whether the tax rate is active
-
builder
public static AccountingTaxRate.Builder builder()
-
withId
public AccountingTaxRate withId(java.lang.String id)
Unique identifier
-
withId
public AccountingTaxRate withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public AccountingTaxRate withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public AccountingTaxRate withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withCompanyId
public AccountingTaxRate withCompanyId(java.lang.String companyId)
ID of the company this tax rate belongs to
-
withCompanyId
public AccountingTaxRate withCompanyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)
ID of the company this tax rate belongs to
-
withName
public AccountingTaxRate withName(java.lang.String name)
Name of the tax rate
-
withName
public AccountingTaxRate withName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
Name of the tax rate
-
withCode
public AccountingTaxRate withCode(java.lang.String code)
External system's tax code
-
withCode
public AccountingTaxRate withCode(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> code)
External system's tax code
-
withPercentage
public AccountingTaxRate withPercentage(double percentage)
Tax rate percentage
-
withPercentage
public AccountingTaxRate withPercentage(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> percentage)
Tax rate percentage
-
withActive
public AccountingTaxRate withActive(AccountingTaxRateActive active)
Whether the tax rate is active
-
withActive
public AccountingTaxRate withActive(org.openapitools.jackson.nullable.JsonNullable<? extends AccountingTaxRateActive> active)
Whether the tax rate is active
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-