Package | Description |
---|---|
io.sphere.sdk.taxcategories |
Provides model classes and builders for tax categories.
|
Modifier and Type | Method and Description |
---|---|
TaxCategoryDraftBuilder |
TaxCategoryDraftBuilder.description(String description)
Sets the
description property of this builder. |
TaxCategoryDraftBuilder |
TaxCategoryDraftBuilder.key(String key)
Sets the
key property of this builder. |
TaxCategoryDraftBuilder |
TaxCategoryDraftBuilder.name(String name)
Sets the
name property of this builder. |
TaxCategoryDraftBuilder |
TaxCategoryDraftDsl.newBuilder()
Creates a new builder with the values of this object.
|
static TaxCategoryDraftBuilder |
TaxCategoryDraftBuilder.of(String name,
List<TaxRateDraft> taxRates,
String description)
Creates a new object initialized with the given values.
|
static TaxCategoryDraftBuilder |
TaxCategoryDraftBuilder.of(TaxCategoryDraft template)
Creates a new object initialized with the fields of the template parameter.
|
TaxCategoryDraftBuilder |
TaxCategoryDraftBuilder.plusTaxRates(List<TaxRateDraft> taxRates)
Concatenate
taxRates parameter to the taxRates list property of this builder. |
TaxCategoryDraftBuilder |
TaxCategoryDraftBuilder.plusTaxRates(TaxRateDraft taxRates)
Adds
taxRates parameter to the taxRates list property of this builder. |
TaxCategoryDraftBuilder |
TaxCategoryDraftBuilder.taxRates(List<TaxRateDraft> taxRates)
Sets the
taxRates property of this builder. |