public final class ExternalTaxRateDraftBuilder extends Base implements Builder<ExternalTaxRateDraft>
Modifier and Type | Method and Description |
---|---|
ExternalTaxRateDraftBuilder |
amount(Double amount) |
ExternalTaxRateDraft |
build()
Creates a new instance of T with the values of this builder.
|
ExternalTaxRateDraftBuilder |
includedInPrice(Boolean includedInPrice) |
static ExternalTaxRateDraftBuilder |
ofAmount(Double amount,
String name,
com.neovisionaries.i18n.CountryCode country) |
static ExternalTaxRateDraftBuilder |
ofSubRates(List<SubRate> subRates,
String name,
com.neovisionaries.i18n.CountryCode country) |
ExternalTaxRateDraftBuilder |
state(String state) |
ExternalTaxRateDraftBuilder |
subRates(List<SubRate> subRates) |
public static ExternalTaxRateDraftBuilder ofAmount(Double amount, String name, com.neovisionaries.i18n.CountryCode country)
public static ExternalTaxRateDraftBuilder ofSubRates(List<SubRate> subRates, String name, com.neovisionaries.i18n.CountryCode country)
public ExternalTaxRateDraftBuilder subRates(List<SubRate> subRates)
public ExternalTaxRateDraftBuilder amount(Double amount)
public ExternalTaxRateDraftBuilder state(String state)
public ExternalTaxRateDraftBuilder includedInPrice(Boolean includedInPrice)
public ExternalTaxRateDraft build()
Builder
build
in interface Builder<ExternalTaxRateDraft>