public class CatalogTax extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CatalogTax.Builder
Class to build instances of
CatalogTax. |
| Modifier | Constructor and Description |
|---|---|
protected |
CatalogTax(io.apimatic.core.types.OptionalNullable<String> name,
String calculationPhase,
String inclusionType,
io.apimatic.core.types.OptionalNullable<String> percentage,
io.apimatic.core.types.OptionalNullable<Boolean> appliesToCustomAmounts,
io.apimatic.core.types.OptionalNullable<Boolean> enabled,
io.apimatic.core.types.OptionalNullable<String> appliesToProductSetId)
Internal initialization constructor.
|
|
CatalogTax(String name,
String calculationPhase,
String inclusionType,
String percentage,
Boolean appliesToCustomAmounts,
Boolean enabled,
String appliesToProductSetId)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getAppliesToCustomAmounts()
Getter for AppliesToCustomAmounts.
|
String |
getAppliesToProductSetId()
Getter for AppliesToProductSetId.
|
String |
getCalculationPhase()
Getter for CalculationPhase.
|
Boolean |
getEnabled()
Getter for Enabled.
|
String |
getInclusionType()
Getter for InclusionType.
|
String |
getName()
Getter for Name.
|
String |
getPercentage()
Getter for Percentage.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetAppliesToCustomAmounts()
Internal Getter for AppliesToCustomAmounts.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetAppliesToProductSetId()
Internal Getter for AppliesToProductSetId.
|
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetEnabled()
Internal Getter for Enabled.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetName()
Internal Getter for Name.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetPercentage()
Internal Getter for Percentage.
|
CatalogTax.Builder |
toBuilder()
Builds a new
CatalogTax.Builder object. |
String |
toString()
Converts this CatalogTax into string format.
|
public CatalogTax(String name, String calculationPhase, String inclusionType, String percentage, Boolean appliesToCustomAmounts, Boolean enabled, String appliesToProductSetId)
name - String value for name.calculationPhase - String value for calculationPhase.inclusionType - String value for inclusionType.percentage - String value for percentage.appliesToCustomAmounts - Boolean value for appliesToCustomAmounts.enabled - Boolean value for enabled.appliesToProductSetId - String value for appliesToProductSetId.protected CatalogTax(io.apimatic.core.types.OptionalNullable<String> name, String calculationPhase, String inclusionType, io.apimatic.core.types.OptionalNullable<String> percentage, io.apimatic.core.types.OptionalNullable<Boolean> appliesToCustomAmounts, io.apimatic.core.types.OptionalNullable<Boolean> enabled, io.apimatic.core.types.OptionalNullable<String> appliesToProductSetId)
protected io.apimatic.core.types.OptionalNullable<String> internalGetName()
public String getName()
public String getCalculationPhase()
public String getInclusionType()
protected io.apimatic.core.types.OptionalNullable<String> internalGetPercentage()
public String getPercentage()
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetAppliesToCustomAmounts()
public Boolean getAppliesToCustomAmounts()
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetEnabled()
public Boolean getEnabled()
protected io.apimatic.core.types.OptionalNullable<String> internalGetAppliesToProductSetId()
public String getAppliesToProductSetId()
public String toString()
public CatalogTax.Builder toBuilder()
CatalogTax.Builder object.
Creates the instance with the state of the current model.CatalogTax.Builder objectCopyright © 2023. All rights reserved.