Package | Description |
---|---|
io.sphere.sdk.carts |
Provides model classes and builders for carts.
|
io.sphere.sdk.carts.commands.updateactions |
Provides the possible operations which can be performed on update commands for carts.
|
io.sphere.sdk.orderedits.commands.stagedactions | |
io.sphere.sdk.orders |
Provides model classes and builders for orders.
|
io.sphere.sdk.shippingmethods |
Provides model classes and builders for shipping methods.
|
io.sphere.sdk.shippingmethods.commands.updateactions |
Provides the possible operations which can be performed on update commands for shipping methods.
|
Modifier and Type | Method and Description |
---|---|
ShippingRate |
CartShippingInfo.getShippingRate() |
Modifier and Type | Method and Description |
---|---|
ShippingRate |
SetCustomShippingMethod.getShippingRate() |
Modifier and Type | Method and Description |
---|---|
static SetCustomShippingMethod |
SetCustomShippingMethod.of(String shippingMethodName,
ShippingRate shippingRate,
Referenceable<TaxCategory> taxCategory) |
static SetCustomShippingMethod |
SetCustomShippingMethod.of(String shippingMethodName,
ShippingRate shippingRate,
ResourceIdentifier<TaxCategory> taxCategory) |
static SetCustomShippingMethod |
SetCustomShippingMethod.ofExternalTaxCalculation(String shippingMethodName,
ShippingRate shippingRate) |
static SetCustomShippingMethod |
SetCustomShippingMethod.ofExternalTaxCalculation(String shippingMethodName,
ShippingRate shippingRate,
ExternalTaxRateDraft externalTaxRate) |
Modifier and Type | Method and Description |
---|---|
ShippingRate |
SetCustomShippingMethod.getShippingRate() |
ShippingRate |
SetShippingAddressAndCustomShippingMethod.getShippingRate() |
Modifier and Type | Method and Description |
---|---|
static SetShippingAddressAndCustomShippingMethod |
SetShippingAddressAndCustomShippingMethod.of(Address address,
String shippingMethodName,
ShippingRate shippingRate) |
static SetShippingAddressAndCustomShippingMethod |
SetShippingAddressAndCustomShippingMethod.of(Address address,
String shippingMethodName,
ShippingRate shippingRate,
ResourceIdentifier<TaxCategory> taxCategory,
ExternalTaxRateDraft externalTaxRate) |
static SetCustomShippingMethod |
SetCustomShippingMethod.of(String shippingMethodName,
ShippingRate shippingRate,
ResourceIdentifier<TaxCategory> taxCategory,
ExternalTaxRateDraft externalTaxRateDraft) |
Modifier and Type | Method and Description |
---|---|
ShippingRate |
ShippingInfoImportDraft.getShippingRate() |
ShippingRate |
OrderShippingInfo.getShippingRate() |
ShippingRate |
ShippingInfoImportDraftBuilder.getShippingRate() |
ShippingRate |
ShippingInfoImportDraftDsl.getShippingRate() |
Modifier and Type | Method and Description |
---|---|
static OrderShippingInfo |
OrderShippingInfo.of(String shippingMethodName,
javax.money.MonetaryAmount price,
ShippingRate shippingRate,
TaxRate taxRate,
Reference<TaxCategory> taxCategory,
Reference<ShippingMethod> shippingMethod,
List<Delivery> deliveries)
Creates an
OrderShippingInfo for the OrderImportDraft . |
static ShippingInfoImportDraftBuilder |
ShippingInfoImportDraftBuilder.of(String shippingMethodName,
javax.money.MonetaryAmount price,
ShippingRate shippingRate,
TaxRate taxRate,
ResourceIdentifier<TaxCategory> taxCategory,
ResourceIdentifier<ShippingMethod> shippingMethod,
ShippingMethodState shippingMethodState,
List<Delivery> deliveries)
Creates a new object initialized with the given values.
|
static ShippingInfoImportDraftDsl |
ShippingInfoImportDraftDsl.of(String shippingMethodName,
javax.money.MonetaryAmount price,
ShippingRate shippingRate,
TaxRate taxRate,
ResourceIdentifier<TaxCategory> taxCategory,
ResourceIdentifier<ShippingMethod> shippingMethod,
ShippingMethodState shippingMethodState,
List<Delivery> deliveries)
Creates a new object initialized with the given values.
|
ShippingInfoImportDraftBuilder |
ShippingInfoImportDraftBuilder.shippingRate(ShippingRate shippingRate)
Sets the
shippingRate property of this builder. |
ShippingInfoImportDraftDsl |
ShippingInfoImportDraftDsl.withShippingRate(ShippingRate shippingRate) |
Modifier and Type | Method and Description |
---|---|
static ShippingRate |
ShippingRate.of(javax.money.MonetaryAmount price) |
static ShippingRate |
ShippingRate.of(javax.money.MonetaryAmount price,
javax.money.MonetaryAmount freeAbove) |
static ShippingRate |
ShippingRate.of(javax.money.MonetaryAmount price,
javax.money.MonetaryAmount freeAbove,
Boolean isMatching) |
static ShippingRate |
ShippingRate.of(javax.money.MonetaryAmount price,
javax.money.MonetaryAmount freeAbove,
Boolean isMatching,
List<ShippingRatePriceTier> tiers) |
static ShippingRate |
ShippingRate.of(javax.money.MonetaryAmount price,
javax.money.MonetaryAmount freeAbove,
List<ShippingRatePriceTier> tiers) |
Modifier and Type | Method and Description |
---|---|
List<ShippingRate> |
ZoneRate.getShippingRates() |
List<ShippingRate> |
ZoneRateDraft.getShippingRates() |
List<ShippingRate> |
ZoneRateDraftBuilder.getShippingRates() |
List<ShippingRate> |
ZoneRateDraftDsl.getShippingRates() |
default List<ShippingRate> |
ShippingMethod.getShippingRatesForZone(Referenceable<Zone> zone) |
Modifier and Type | Method and Description |
---|---|
ZoneRateDraftBuilder |
ZoneRateDraftBuilder.plusShippingRates(ShippingRate shippingRates)
Adds
shippingRates parameter to the shippingRates list property of this builder. |
Modifier and Type | Method and Description |
---|---|
static ZoneRate |
ZoneRate.of(Referenceable<Zone> zone,
List<ShippingRate> shippingRates) |
static ZoneRateDraftBuilder |
ZoneRateDraftBuilder.of(ResourceIdentifier<Zone> zone,
List<ShippingRate> shippingRates)
Creates a new object initialized with the given values.
|
static ZoneRateDraftDsl |
ZoneRateDraftDsl.of(ResourceIdentifier<Zone> zone,
List<ShippingRate> shippingRates)
Creates a new object initialized with the given values.
|
ZoneRateDraftBuilder |
ZoneRateDraftBuilder.plusShippingRates(List<ShippingRate> shippingRates)
Concatenate
shippingRates parameter to the shippingRates list property of this builder. |
ZoneRateDraftBuilder |
ZoneRateDraftBuilder.shippingRates(List<ShippingRate> shippingRates)
Sets the
shippingRates property of this builder. |
ZoneRateDraftDsl |
ZoneRateDraftDsl.withShippingRates(List<ShippingRate> shippingRates) |
Modifier and Type | Method and Description |
---|---|
ShippingRate |
AddShippingRate.getShippingRate() |
ShippingRate |
RemoveShippingRate.getShippingRate() |
Modifier and Type | Method and Description |
---|---|
static AddShippingRate |
AddShippingRate.of(ShippingRate shippingRate,
Referenceable<Zone> zone) |
static RemoveShippingRate |
RemoveShippingRate.of(ShippingRate shippingRate,
Referenceable<Zone> zone) |