public interface TaxCategoryDraft extends WithKey
If you need to create a TaxCategory without tax rates, just provide an empty list as parameter for taxRates
.
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getKey() |
String |
getName() |
List<TaxRateDraft> |
getTaxRates() |
static TaxCategoryDraft |
of(String name,
List<TaxRateDraft> taxRates) |
static TaxCategoryDraft |
of(String name,
List<TaxRateDraft> taxRates,
String description) |
String getName()
List<TaxRateDraft> getTaxRates()
static TaxCategoryDraft of(String name, List<TaxRateDraft> taxRates, @Nullable String description)
static TaxCategoryDraft of(String name, List<TaxRateDraft> taxRates)