Package | Description |
---|---|
io.sphere.sdk.taxcategories |
Provides model classes and builders for tax categories.
|
io.sphere.sdk.taxcategories.commands.updateactions |
Provides the possible operations which can be performed on update commands for tax categories.
|
Modifier and Type | Method and Description |
---|---|
TaxRateDraft |
TaxRateDraftBuilder.build() |
static TaxRateDraft |
TaxRateDraft.of(String name,
double amount,
boolean includedInPrice,
com.neovisionaries.i18n.CountryCode country) |
Modifier and Type | Method and Description |
---|---|
List<TaxRateDraft> |
TaxCategoryDraft.getTaxRates() |
List<TaxRateDraft> |
TaxCategoryDraftBuilder.getTaxRates() |
List<TaxRateDraft> |
TaxCategoryDraftDsl.getTaxRates() |
Modifier and Type | Method and Description |
---|---|
static TaxRateDraftBuilder |
TaxRateDraftBuilder.of(TaxRateDraft taxRate) |
TaxCategoryDraftBuilder |
TaxCategoryDraftBuilder.plusTaxRates(TaxRateDraft taxRates)
Adds
taxRates parameter to the taxRates list property of this builder. |
Modifier and Type | Method and Description |
---|---|
static TaxCategoryDraft |
TaxCategoryDraft.of(String name,
List<TaxRateDraft> taxRates) |
static TaxCategoryDraft |
TaxCategoryDraft.of(String name,
List<TaxRateDraft> taxRates,
String description) |
static TaxCategoryDraftBuilder |
TaxCategoryDraftBuilder.of(String name,
List<TaxRateDraft> taxRates,
String description)
Creates a new object initialized with the given values.
|
static TaxCategoryDraftDsl |
TaxCategoryDraftDsl.of(String name,
List<TaxRateDraft> taxRates,
String description)
Creates a new object initialized with the given values.
|
TaxCategoryDraftBuilder |
TaxCategoryDraftBuilder.plusTaxRates(List<TaxRateDraft> taxRates)
Concatenate
taxRates parameter to the taxRates list property of this builder. |
TaxCategoryDraftBuilder |
TaxCategoryDraftBuilder.taxRates(List<TaxRateDraft> taxRates)
Sets the
taxRates property of this builder. |
TaxCategoryDraftDsl |
TaxCategoryDraftDsl.withRates(List<TaxRateDraft> taxRates) |
TaxCategoryDraftDsl |
TaxCategoryDraftDsl.withTaxRates(List<TaxRateDraft> taxRates) |
Modifier and Type | Method and Description |
---|---|
TaxRateDraft |
ReplaceTaxRate.getTaxRate() |
TaxRateDraft |
AddTaxRate.getTaxRate() |
Modifier and Type | Method and Description |
---|---|
static ReplaceTaxRate |
ReplaceTaxRate.of(String taxRateId,
TaxRateDraft taxRate) |
static AddTaxRate |
AddTaxRate.of(TaxRateDraft taxRate) |