public final class TaxRateDraftBuilder extends Base implements Builder<TaxRateDraft>
Modifier and Type | Method and Description |
---|---|
TaxRateDraftBuilder |
amount(double amount) |
TaxRateDraft |
build()
Creates a new instance of T with the values of this builder.
|
static TaxRateDraftBuilder |
of(String name,
double amount,
boolean includedInPrice,
com.neovisionaries.i18n.CountryCode country) |
static TaxRateDraftBuilder |
of(TaxRate taxRate) |
static TaxRateDraftBuilder |
of(TaxRateDraft taxRate) |
TaxRateDraftBuilder |
state(String state) |
TaxRateDraftBuilder |
subRates(List<SubRate> subRates) |
public static TaxRateDraftBuilder of(TaxRate taxRate)
public static TaxRateDraftBuilder of(TaxRateDraft taxRate)
public static TaxRateDraftBuilder of(String name, double amount, boolean includedInPrice, com.neovisionaries.i18n.CountryCode country)
public TaxRateDraftBuilder state(@Nullable String state)
public TaxRateDraftBuilder amount(double amount)
public TaxRateDraftBuilder subRates(List<SubRate> subRates)
public TaxRateDraft build()
Builder
build
in interface Builder<TaxRateDraft>