Package | Description |
---|---|
io.sphere.sdk.shippingmethods |
Provides model classes and builders for shipping methods.
|
Modifier and Type | Method and Description |
---|---|
static ShippingMethodDraftDsl |
ShippingMethodDraftDsl.of(ShippingMethodDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static ShippingMethodDraftDsl |
ShippingMethodDraftDsl.of(String name,
LocalizedString localizedDescription,
ResourceIdentifier<TaxCategory> taxCategory,
List<ZoneRateDraft> zoneRates,
Boolean _default)
Creates a new object initialized with the given values.
|
static ShippingMethodDraftDsl |
ShippingMethodDraftDsl.of(String name,
ResourceIdentifier<TaxCategory> taxCategory,
List<ZoneRateDraft> zoneRates,
Boolean _default)
Creates a new object initialized with the given values.
|
static ShippingMethodDraftDsl |
ShippingMethodDraftDsl.of(String name,
String description,
ResourceIdentifier<TaxCategory> taxCategory,
List<ZoneRateDraft> zoneRates,
Boolean _default)
Creates a new object initialized with the given values.
|
ShippingMethodDraftDsl |
ShippingMethodDraftDsl.withCustom(CustomFieldsDraft custom) |
ShippingMethodDraftDsl |
ShippingMethodDraftDsl.withDefault(Boolean _default) |
ShippingMethodDraftDsl |
ShippingMethodDraftDsl.withDescription(String description)
Deprecated.
This method will be removed with the next major SDK update.
|
ShippingMethodDraftDsl |
ShippingMethodDraftDsl.withIsDefault(Boolean _default) |
ShippingMethodDraftDsl |
ShippingMethodDraftDsl.withKey(String key) |
ShippingMethodDraftDsl |
ShippingMethodDraftDsl.withLocalizedDescription(LocalizedString localizedDescription) |
ShippingMethodDraftDsl |
ShippingMethodDraftDsl.withLocalizedName(LocalizedString localizedName) |
ShippingMethodDraftDsl |
ShippingMethodDraftDsl.withName(String name) |
ShippingMethodDraftDsl |
ShippingMethodDraftDsl.withPredicate(String predicate) |
ShippingMethodDraftDsl |
ShippingMethodDraftDsl.withTaxCategory(ResourceIdentifier<TaxCategory> taxCategory) |
ShippingMethodDraftDsl |
ShippingMethodDraftDsl.withZoneRates(List<ZoneRateDraft> zoneRates) |