Class OrderShippingImpl
- All Implemented Interfaces:
OrderShipping
OrderShippingImpl class.
- Since:
- 1.0.16
- Author:
- Logicommerce
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(ElementProperty property) addProperty.voidaddProperty(String name, String value) addProperty.voidcleanProperties.Getter for the fielddiscounts.getId()Getter for the fieldid.getName()Getter for the fieldname.getPrice()Getter for the fieldprice.Getter for the fieldproperties.intGetter for the fieldshipperId.Getter for the fieldshipperPId.Getter for the fieldshippingCalculation.Getter for the fieldshippingSectionId.intGetter for the fieldshippingTypeId.Getter for the fieldshippingTypeName.Getter for the fieldshippingTypePId.getTaxes()Getter for the fieldtaxes.Getter for the fieldtracking.booleanisCashOnDelivery.voidsetCashOnDelivery(boolean cashOnDelivery) Setter for the fieldcashOnDelivery.voidsetDiscounts(List<OrderDiscount> discounts) Setter for the fielddiscounts.voidSetter for the fieldid.voidSetter for the fieldname.voidSetter for the fieldprice.voidsetProperties(List<ElementProperty> properties) Setter for the fieldproperties.voidsetShipperId(int shipperId) Setter for the fieldshipperId.voidsetShipperPId(String shipperPId) Setter for the fieldshipperPId.voidsetShippingCalculation(ShippingCalculation shippingCalculation) Setter for the fieldshippingCalculation.voidsetShippingSectionId(Integer shippingSectionId) Setter for the fieldshippingSectionId.voidsetShippingTypeId(int shippingTypeId) Setter for the fieldshippingTypeId.voidsetShippingTypeName(String shippingTypeName) Setter for the fieldshippingTypeName.voidsetShippingTypePId(String shippingTypePId) Setter for the fieldshippingTypePId.voidsetTaxes(List<OrderItemTax> taxes) Setter for the fieldtaxes.voidsetTracking(OrderShippingTracking tracking) setTracking.
-
Constructor Details
-
OrderShippingImpl
public OrderShippingImpl()
-
-
Method Details
-
getId
Getter for the field
id.- Specified by:
getIdin interfaceOrderShipping- Returns:
- a
Integerobject
-
getShippingTypeId
public int getShippingTypeId()Getter for the field
shippingTypeId.- Specified by:
getShippingTypeIdin interfaceOrderShipping- Returns:
- a int
-
getName
Getter for the field
name.- Specified by:
getNamein interfaceOrderShipping- Returns:
- a
Stringobject
-
isCashOnDelivery
public boolean isCashOnDelivery()isCashOnDelivery.
- Specified by:
isCashOnDeliveryin interfaceOrderShipping- Returns:
- a boolean
-
getPrice
Getter for the field
price.- Specified by:
getPricein interfaceOrderShipping- Returns:
- a
Doubleobject
-
getShippingTypeName
Getter for the field
shippingTypeName.- Specified by:
getShippingTypeNamein interfaceOrderShipping- Returns:
- a
Stringobject
-
getShippingSectionId
Getter for the field
shippingSectionId.- Specified by:
getShippingSectionIdin interfaceOrderShipping- Returns:
- a
Integerobject
-
getShippingCalculation
Getter for the field
shippingCalculation.- Specified by:
getShippingCalculationin interfaceOrderShipping- Returns:
- a
ShippingCalculationobject
-
getShipperPId
Getter for the field
shipperPId.- Specified by:
getShipperPIdin interfaceOrderShipping- Returns:
- a
Stringobject
-
getShippingTypePId
Getter for the field
shippingTypePId.- Specified by:
getShippingTypePIdin interfaceOrderShipping- Returns:
- a
Stringobject
-
getTaxes
Getter for the field
taxes.- Specified by:
getTaxesin interfaceOrderShipping- Returns:
- a
Listobject
-
getDiscounts
Getter for the field
discounts.- Specified by:
getDiscountsin interfaceOrderShipping- Returns:
- a
Listobject
-
getProperties
Getter for the field
properties.- Specified by:
getPropertiesin interfaceOrderShipping- Returns:
- a
Listobject
-
addProperty
addProperty.
- Specified by:
addPropertyin interfaceOrderShipping- Parameters:
property- aElementPropertyobject
-
addProperty
addProperty.
- Specified by:
addPropertyin interfaceOrderShipping- Parameters:
name- aStringobjectvalue- aStringobject
-
setId
Setter for the field
id.- Parameters:
id- aIntegerobject
-
setShippingTypeId
public void setShippingTypeId(int shippingTypeId) Setter for the field
shippingTypeId.- Parameters:
shippingTypeId- a int
-
setName
Setter for the field
name.- Parameters:
name- aStringobject
-
setCashOnDelivery
public void setCashOnDelivery(boolean cashOnDelivery) Setter for the field
cashOnDelivery.- Parameters:
cashOnDelivery- a boolean
-
setPrice
Setter for the field
price.- Parameters:
price- aDoubleobject
-
setShippingTypeName
Setter for the field
shippingTypeName.- Parameters:
shippingTypeName- aStringobject
-
setShippingSectionId
Setter for the field
shippingSectionId.- Parameters:
shippingSectionId- aIntegerobject
-
setShippingCalculation
Setter for the field
shippingCalculation.- Parameters:
shippingCalculation- aShippingCalculationobject
-
setShipperPId
Setter for the field
shipperPId.- Parameters:
shipperPId- aStringobject
-
setShippingTypePId
Setter for the field
shippingTypePId.- Parameters:
shippingTypePId- aStringobject
-
setTaxes
Setter for the field
taxes.- Parameters:
taxes- aListobject
-
setDiscounts
Setter for the field
discounts.- Parameters:
discounts- aListobject
-
setProperties
Setter for the field
properties.- Parameters:
properties- aListobject
-
cleanProperties
public void cleanProperties()cleanProperties.
-
getTracking
Getter for the field
tracking.- Specified by:
getTrackingin interfaceOrderShipping- Returns:
- a
OrderShippingTrackingobject
-
setTracking
setTracking.
- Specified by:
setTrackingin interfaceOrderShipping- Parameters:
tracking- aOrderShippingTrackingobject
-
getShipperId
public int getShipperId()Getter for the field
shipperId.- Specified by:
getShipperIdin interfaceOrderShipping- Returns:
- a int
-
setShipperId
public void setShipperId(int shipperId) Setter for the field
shipperId.- Parameters:
shipperId- a int
-