java.lang.Object
com.logicommerce.sdk.models.order.implementations.OrderShippingImpl
All Implemented Interfaces:
OrderShipping

public class OrderShippingImpl extends Object implements OrderShipping

OrderShippingImpl class.

Since:
1.0.16
Author:
Logicommerce
  • Constructor Details

    • OrderShippingImpl

      public OrderShippingImpl()
  • Method Details

    • getId

      public Integer getId()

      Getter for the field id.

      Specified by:
      getId in interface OrderShipping
      Returns:
      a Integer object
    • getShippingTypeId

      public int getShippingTypeId()

      Getter for the field shippingTypeId.

      Specified by:
      getShippingTypeId in interface OrderShipping
      Returns:
      a int
    • getName

      public String getName()

      Getter for the field name.

      Specified by:
      getName in interface OrderShipping
      Returns:
      a String object
    • isCashOnDelivery

      public boolean isCashOnDelivery()

      isCashOnDelivery.

      Specified by:
      isCashOnDelivery in interface OrderShipping
      Returns:
      a boolean
    • getPrice

      public Double getPrice()

      Getter for the field price.

      Specified by:
      getPrice in interface OrderShipping
      Returns:
      a Double object
    • getShippingTypeName

      public String getShippingTypeName()

      Getter for the field shippingTypeName.

      Specified by:
      getShippingTypeName in interface OrderShipping
      Returns:
      a String object
    • getShippingSectionId

      public Integer getShippingSectionId()

      Getter for the field shippingSectionId.

      Specified by:
      getShippingSectionId in interface OrderShipping
      Returns:
      a Integer object
    • getShippingCalculation

      public ShippingCalculation getShippingCalculation()

      Getter for the field shippingCalculation.

      Specified by:
      getShippingCalculation in interface OrderShipping
      Returns:
      a ShippingCalculation object
    • getShipperPId

      public String getShipperPId()

      Getter for the field shipperPId.

      Specified by:
      getShipperPId in interface OrderShipping
      Returns:
      a String object
    • getShippingTypePId

      public String getShippingTypePId()

      Getter for the field shippingTypePId.

      Specified by:
      getShippingTypePId in interface OrderShipping
      Returns:
      a String object
    • getTaxes

      public List<OrderItemTax> getTaxes()

      Getter for the field taxes.

      Specified by:
      getTaxes in interface OrderShipping
      Returns:
      a List object
    • getDiscounts

      public List<OrderDiscount> getDiscounts()

      Getter for the field discounts.

      Specified by:
      getDiscounts in interface OrderShipping
      Returns:
      a List object
    • getProperties

      public List<ElementProperty> getProperties()

      Getter for the field properties.

      Specified by:
      getProperties in interface OrderShipping
      Returns:
      a List object
    • addProperty

      public void addProperty(ElementProperty property)

      addProperty.

      Specified by:
      addProperty in interface OrderShipping
      Parameters:
      property - a ElementProperty object
    • addProperty

      public void addProperty(String name, String value)

      addProperty.

      Specified by:
      addProperty in interface OrderShipping
      Parameters:
      name - a String object
      value - a String object
    • setId

      public void setId(Integer id)

      Setter for the field id.

      Parameters:
      id - a Integer object
    • setShippingTypeId

      public void setShippingTypeId(int shippingTypeId)

      Setter for the field shippingTypeId.

      Parameters:
      shippingTypeId - a int
    • setName

      public void setName(String name)

      Setter for the field name.

      Parameters:
      name - a String object
    • setCashOnDelivery

      public void setCashOnDelivery(boolean cashOnDelivery)

      Setter for the field cashOnDelivery.

      Parameters:
      cashOnDelivery - a boolean
    • setPrice

      public void setPrice(Double price)

      Setter for the field price.

      Parameters:
      price - a Double object
    • setShippingTypeName

      public void setShippingTypeName(String shippingTypeName)

      Setter for the field shippingTypeName.

      Parameters:
      shippingTypeName - a String object
    • setShippingSectionId

      public void setShippingSectionId(Integer shippingSectionId)

      Setter for the field shippingSectionId.

      Parameters:
      shippingSectionId - a Integer object
    • setShippingCalculation

      public void setShippingCalculation(ShippingCalculation shippingCalculation)

      Setter for the field shippingCalculation.

      Parameters:
      shippingCalculation - a ShippingCalculation object
    • setShipperPId

      public void setShipperPId(String shipperPId)

      Setter for the field shipperPId.

      Parameters:
      shipperPId - a String object
    • setShippingTypePId

      public void setShippingTypePId(String shippingTypePId)

      Setter for the field shippingTypePId.

      Parameters:
      shippingTypePId - a String object
    • setTaxes

      public void setTaxes(List<OrderItemTax> taxes)

      Setter for the field taxes.

      Parameters:
      taxes - a List object
    • setDiscounts

      public void setDiscounts(List<OrderDiscount> discounts)

      Setter for the field discounts.

      Parameters:
      discounts - a List object
    • setProperties

      public void setProperties(List<ElementProperty> properties)

      Setter for the field properties.

      Parameters:
      properties - a List object
    • cleanProperties

      public void cleanProperties()

      cleanProperties.

    • getTracking

      public OrderShippingTracking getTracking()

      Getter for the field tracking.

      Specified by:
      getTracking in interface OrderShipping
      Returns:
      a OrderShippingTracking object
    • setTracking

      public void setTracking(OrderShippingTracking tracking)

      setTracking.

      Specified by:
      setTracking in interface OrderShipping
      Parameters:
      tracking - a OrderShippingTracking object
    • getShipperId

      public int getShipperId()

      Getter for the field shipperId.

      Specified by:
      getShipperId in interface OrderShipping
      Returns:
      a int
    • setShipperId

      public void setShipperId(int shipperId)

      Setter for the field shipperId.

      Parameters:
      shipperId - a int