public interface OrderShippingInfo extends CartShippingInfo
Modifier and Type | Method and Description |
---|---|
List<Delivery> |
getDeliveries() |
javax.money.MonetaryAmount |
getPrice() |
Reference<ShippingMethod> |
getShippingMethod() |
String |
getShippingMethodName() |
ShippingRate |
getShippingRate() |
Reference<TaxCategory> |
getTaxCategory() |
TaxRate |
getTaxRate() |
static 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 . |
getDiscountedPrice, getShippingMethodState, getTaxedPrice
javax.money.MonetaryAmount getPrice()
getPrice
in interface CartShippingInfo
@Nullable Reference<ShippingMethod> getShippingMethod()
getShippingMethod
in interface CartShippingInfo
String getShippingMethodName()
getShippingMethodName
in interface CartShippingInfo
ShippingRate getShippingRate()
getShippingRate
in interface CartShippingInfo
Reference<TaxCategory> getTaxCategory()
getTaxCategory
in interface CartShippingInfo
TaxRate getTaxRate()
getTaxRate
in interface CartShippingInfo
static OrderShippingInfo of(String shippingMethodName, javax.money.MonetaryAmount price, ShippingRate shippingRate, TaxRate taxRate, Reference<TaxCategory> taxCategory, Reference<ShippingMethod> shippingMethod, List<Delivery> deliveries)
OrderShippingInfo
for the OrderImportDraft
.shippingMethodName
- shippingMethodNameprice
- priceshippingRate
- shippingRatetaxRate
- taxRatetaxCategory
- taxCategoryshippingMethod
- shippingMethoddeliveries
- deliveries