Module com.logicommerce.sdk
Class OrderShippingImpl
- java.lang.Object
-
- com.logicommerce.sdk.models.order.implementations.OrderShippingImpl
-
- All Implemented Interfaces:
OrderShipping
public class OrderShippingImpl extends Object implements OrderShipping
-
-
Constructor Summary
Constructors Constructor Description OrderShippingImpl()
-
Method Summary
-
-
-
Method Detail
-
getId
public Integer getId()
- Specified by:
getIdin interfaceOrderShipping
-
getShippingTypeId
public int getShippingTypeId()
- Specified by:
getShippingTypeIdin interfaceOrderShipping
-
getName
public String getName()
- Specified by:
getNamein interfaceOrderShipping
-
isCashOnDelivery
public boolean isCashOnDelivery()
- Specified by:
isCashOnDeliveryin interfaceOrderShipping
-
getPrice
public Double getPrice()
- Specified by:
getPricein interfaceOrderShipping
-
getShippingTypeName
public String getShippingTypeName()
- Specified by:
getShippingTypeNamein interfaceOrderShipping
-
getShippingSectionId
public Integer getShippingSectionId()
- Specified by:
getShippingSectionIdin interfaceOrderShipping
-
getShippingCalculation
public ShippingCalculation getShippingCalculation()
- Specified by:
getShippingCalculationin interfaceOrderShipping
-
getShipperPId
public String getShipperPId()
- Specified by:
getShipperPIdin interfaceOrderShipping
-
getShippingTypePId
public String getShippingTypePId()
- Specified by:
getShippingTypePIdin interfaceOrderShipping
-
getTaxes
public List<OrderItemTax> getTaxes()
- Specified by:
getTaxesin interfaceOrderShipping
-
getDiscounts
public List<OrderDiscount> getDiscounts()
- Specified by:
getDiscountsin interfaceOrderShipping
-
getProperties
public List<ElementProperty> getProperties()
- Specified by:
getPropertiesin interfaceOrderShipping
-
addProperty
public void addProperty(ElementProperty property)
- Specified by:
addPropertyin interfaceOrderShipping
-
addProperty
public void addProperty(String name, String value)
- Specified by:
addPropertyin interfaceOrderShipping
-
setId
public void setId(Integer id)
-
setShippingTypeId
public void setShippingTypeId(int shippingTypeId)
-
setName
public void setName(String name)
-
setCashOnDelivery
public void setCashOnDelivery(boolean cashOnDelivery)
-
setPrice
public void setPrice(Double price)
-
setShippingTypeName
public void setShippingTypeName(String shippingTypeName)
-
setShippingSectionId
public void setShippingSectionId(Integer shippingSectionId)
-
setShippingCalculation
public void setShippingCalculation(ShippingCalculation shippingCalculation)
-
setShipperPId
public void setShipperPId(String shipperPId)
-
setShippingTypePId
public void setShippingTypePId(String shippingTypePId)
-
setTaxes
public void setTaxes(List<OrderItemTax> taxes)
-
setDiscounts
public void setDiscounts(List<OrderDiscount> discounts)
-
setProperties
public void setProperties(List<ElementProperty> properties)
-
cleanProperties
public void cleanProperties()
-
getTracking
public OrderShippingTracking getTracking()
- Specified by:
getTrackingin interfaceOrderShipping
-
setTracking
public void setTracking(OrderShippingTracking tracking)
- Specified by:
setTrackingin interfaceOrderShipping
-
getShipperId
public int getShipperId()
- Specified by:
getShipperIdin interfaceOrderShipping
-
setShipperId
public void setShipperId(int shipperId)
-
-