Module com.logicommerce.sdk
Class OrderShipmentItemImpl
java.lang.Object
com.logicommerce.sdk.models.order.implementations.OrderShipmentItemImpl
- All Implemented Interfaces:
OrderShipmentItem
OrderShipmentItemImpl class.
- Since:
- 1.0.16
- Author:
- Logicommerce
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Getter for the fieldid.Getter for the fieldorderItemId.intGetter for the fieldquantity.doublegetWeight.voidSetter for the fieldid.voidsetOrderItemId(Integer orderItemId) Setter for the fieldorderItemId.voidsetQuantity(int quantity) Setter for the fieldquantity.voidsetWeight(double weight)
-
Constructor Details
-
OrderShipmentItemImpl
public OrderShipmentItemImpl()
-
-
Method Details
-
getId
Getter for the field
id.- Specified by:
getIdin interfaceOrderShipmentItem- Returns:
- a
Integerobject
-
getQuantity
public int getQuantity()Getter for the field
quantity.- Specified by:
getQuantityin interfaceOrderShipmentItem- Returns:
- a int
-
getOrderItemId
Getter for the field
orderItemId.- Specified by:
getOrderItemIdin interfaceOrderShipmentItem- Returns:
- a
Integerobject
-
setId
Setter for the field
id.- Parameters:
id- aIntegerobject
-
setQuantity
public void setQuantity(int quantity) Setter for the field
quantity.- Parameters:
quantity- a int
-
setOrderItemId
Setter for the field
orderItemId.- Parameters:
orderItemId- aIntegerobject
-
getWeight
public double getWeight()Description copied from interface:OrderShipmentItemgetWeight.
- Specified by:
getWeightin interfaceOrderShipmentItem- Returns:
- a double
-
setWeight
public void setWeight(double weight)
-