info.magnolia.module.shop.beans
Class DefaultShoppingCartImpl

java.lang.Object
  extended by ch.fastforward.magnolia.ocm.beans.OCMBean
      extended by ch.fastforward.magnolia.ocm.beans.OCMNumberedBean
          extended by info.magnolia.module.shop.beans.DefaultShoppingCartImpl
All Implemented Interfaces:
ShoppingCart, Serializable

public class DefaultShoppingCartImpl
extends ch.fastforward.magnolia.ocm.beans.OCMNumberedBean
implements ShoppingCart, Serializable

A default shopping cart implementation with order, billing and shipping addresses allowing only one cart item per product (i.e. when adding the same product multiple times, the quantity of the cart item will be increased).

Author:
will
See Also:
Serialized Form

Constructor Summary
DefaultShoppingCartImpl()
           
DefaultShoppingCartImpl(javax.jcr.Node priceCategory)
           
 
Method Summary
 void addCartItem(ShoppingCartItem newItem)
           
 int addToShoppingCart(String productUUID, int quantity)
          Addes a product to the cart.
 int addToShoppingCart(String productUUID, int quantity, Map<String,CartItemOption> options)
           
 Boolean getAcceptedGTC()
          Deprecated. Use getTermsAccepted()
 String getBillingAddressCity()
           
 String getBillingAddressCompany()
           
 String getBillingAddressCompany2()
           
 String getBillingAddressCountry()
           
 String getBillingAddressFirstname()
           
 String getBillingAddressLastname()
           
 String getBillingAddressMail()
           
 String getBillingAddressMobile()
           
 String getBillingAddressPhone()
           
 String getBillingAddressSex()
           
 String getBillingAddressState()
           
 String getBillingAddressStreet()
           
 String getBillingAddressStreet2()
           
 String getBillingAddressTitle()
           
 String getBillingAddressZip()
           
 double getCartDiscount()
           
 Double getCartDiscountRate()
           
 ArrayList<ShoppingCartItem> getCartItems()
           
 int getCartItemsCount()
           
 double getCartTax()
           
 BigDecimal getCartTaxBigDecimal()
           
 double getCartTotalExclTax()
           
 BigDecimal getCartTotalExclTaxBigDecimal()
           
 double getCartTotalInclTax()
           
 BigDecimal getCartTotalInclTaxBigDecimal()
           
 Date getDeliveryDate()
           
 String getFormStateToken()
           
 double getGrossItemsTotalExclTax()
           
 BigDecimal getGrossItemsTotalExclTaxBigDecimal()
           
 double getGrossItemsTotalInclTax()
           
 BigDecimal getGrossItemsTotalInclTaxBigDecimal()
           
 double getGrossTotal()
          Deprecated. Use getCartTotalInclTax()
 double getGrossTotalExclTax()
          Deprecated. Use getGrossItemsTotalExclTax()
 BigDecimal getGrossTotalExclTaxBigDecimal()
          Deprecated. Use getGrossItemsTotalExclTaxBigDecimal()
 double getGrossTotalInclTax()
          Deprecated. Use getGrossItemsTotalInclTax()
 BigDecimal getGrossTotalInclTaxBigDecimal()
          Deprecated. Use getGrossItemsTotalInclTaxBigDecimal()
 double getItemTaxTotal()
           
 BigDecimal getItemTaxTotalBigDecimal()
          Sums up the cart items tax and applies the discount rate if there is any.
 String getLanguage()
           
 double getNetItemsTotalExclTax()
           
 BigDecimal getNetItemsTotalExclTaxBigDecimal()
           
 double getNetItemsTotalInclTax()
           
 BigDecimal getNetItemsTotalInclTaxBigDecimal()
           
 double getNetTotal()
          Deprecated. Use getNetItemsTotalExclTax() or getNetItemsTotalInclTax()
 String getOrderAddressCity()
           
 String getOrderAddressCompany()
           
 String getOrderAddressCompany2()
           
 String getOrderAddressCountry()
           
 String getOrderAddressFirstname()
           
 String getOrderAddressLastname()
           
 String getOrderAddressMail()
           
 String getOrderAddressMobile()
           
 String getOrderAddressPhone()
           
 String getOrderAddressSex()
           
 String getOrderAddressState()
           
 String getOrderAddressStreet()
           
 String getOrderAddressStreet2()
           
 String getOrderAddressTitle()
           
 String getOrderAddressZip()
           
 Date getOrderDate()
           
 Date getPaymentDate()
           
 String getPaymentID()
           
 String getPaymentType()
           
 String getPriceCategoryUUID()
           
 String getShippingAddressCity()
           
 String getShippingAddressCompany()
           
 String getShippingAddressCompany2()
           
 String getShippingAddressCountry()
           
 String getShippingAddressFirstname()
           
 String getShippingAddressLastname()
           
 String getShippingAddressMail()
           
 String getShippingAddressMobile()
           
 String getShippingAddressPhone()
           
 String getShippingAddressSex()
           
 String getShippingAddressState()
           
 String getShippingAddressStreet()
           
 String getShippingAddressStreet2()
           
 String getShippingAddressTitle()
           
 String getShippingAddressZip()
           
 BigDecimal getShippingCostBigDecimal()
           
 double getShippingCostExclTax()
           
 BigDecimal getShippingCostExclTaxBigDecimal()
           
 double getShippingCostInclTax()
           
 BigDecimal getShippingCostInclTaxBigDecimal()
           
 BigDecimal getShippingCostTax()
           
 Boolean getShippingCostTaxIncluded()
           
 BigDecimal getShippingCostTaxRate()
           
 String getShippingOptionTitle()
           
 String getShippingOptionUUID()
           
 Date getTargetDeliveryDate()
           
 Boolean getTaxFree()
           
 Boolean getTaxIncluded()
           
 Boolean getTermsAccepted()
           
 double getTotalWeight()
           
 BigDecimal getTotalWeightBigDecimal()
           
 String getUserIP()
           
 int indexOfProduct(String productUUID)
           
 int indexOfProduct(String productUUID, Map<String,CartItemOption> options)
           
 void removeFromShoppingCart(String productUUID)
          Removes the cart item containing the product with the passed in UUID.
 void setAcceptedGTC(Boolean acceptedGTC)
          Deprecated. Use #setTermsAccepted()
 void setBillingAddressCity(String billingAddressCity)
           
 void setBillingAddressCompany(String billingAddressCompany)
           
 void setBillingAddressCompany2(String billingAddressCompany2)
           
 void setBillingAddressCountry(String billingAddressCountry)
           
 void setBillingAddressFirstname(String billingAddressFirstname)
           
 void setBillingAddressLastname(String billingAddressLastname)
           
 void setBillingAddressMail(String billingAddressMail)
           
 void setBillingAddressMobile(String billingAddressMobile)
           
 void setBillingAddressPhone(String billingAddressPhone)
           
 void setBillingAddressSex(String billingAddressSex)
           
 void setBillingAddressState(String billingAddressState)
           
 void setBillingAddressStreet(String billingAddressStreet)
           
 void setBillingAddressStreet2(String billingAddressStreet2)
           
 void setBillingAddressTitle(String billingAddressTitle)
           
 void setBillingAddressZip(String billingAddressZip)
           
 void setCartDiscountRate(Double cartDiscountRate)
           
 void setDeliveryDate(Date deliveryDate)
           
 void setFormStateToken(String formStateToken)
           
 void setLanguage(String language)
           
 void setOrderAddressCity(String orderAddressCity)
           
 void setOrderAddressCompany(String orderAddressCompany)
           
 void setOrderAddressCompany2(String orderAddressCompany2)
           
 void setOrderAddressCountry(String orderAddressCountry)
           
 void setOrderAddressFirstname(String orderAddressFirstname)
           
 void setOrderAddressLastname(String orderAddressLastname)
           
 void setOrderAddressMail(String orderAddressMail)
           
 void setOrderAddressMobile(String orderAddressMobile)
           
 void setOrderAddressPhone(String orderAddressPhone)
           
 void setOrderAddressSex(String orderAddressSex)
           
 void setOrderAddressState(String orderAddressState)
           
 void setOrderAddressStreet(String orderAddressStreet)
           
 void setOrderAddressStreet2(String orderAddressStreet2)
           
 void setOrderAddressTitle(String orderAddressTitle)
           
 void setOrderAddressZip(String orderAddressZip)
           
 void setOrderDate(Date orderDate)
           
 void setPaymentDate(Date paymentDate)
           
 void setPaymentID(String paymentID)
           
 void setPaymentType(String paymentType)
           
 void setPriceCategoryUUID(String uuid)
           
 void setShippingAddressCity(String shippingAddressCity)
           
 void setShippingAddressCompany(String shippingAddressCompany)
           
 void setShippingAddressCompany2(String shippingAddressCompany2)
           
 void setShippingAddressCountry(String shippingAddressCountry)
           
 void setShippingAddressFirstname(String shippingAddressFirstname)
           
 void setShippingAddressLastname(String shippingAddressLastname)
           
 void setShippingAddressMail(String shippingAddressMail)
           
 void setShippingAddressMobile(String shippingAddressMobile)
           
 void setShippingAddressPhone(String shippingAddressPhone)
           
 void setShippingAddressSex(String shippingAddressSex)
           
 void setShippingAddressState(String shippingAddressState)
           
 void setShippingAddressStreet(String shippingAddressStreet)
           
 void setShippingAddressStreet2(String shippingAddressStreet2)
           
 void setShippingAddressTitle(String shippingAddressTitle)
           
 void setShippingAddressZip(String shippingAddressZip)
           
 void setShippingCostBigDecimal(BigDecimal shippingCost)
          Setter method for the shipping cost.
 void setShippingCostTaxIncluded(Boolean shippingCostTaxIncluded)
           
 void setShippingCostTaxRate(BigDecimal shippingCostTaxRate)
           
 void setShippingOptionTitle(String shippingOptionTitle)
           
 void setShippingOptionUUID(String shippingOptionUUID)
           
 void setTargetDeliveryDate(Date targetDeliveryDate)
           
 void setTaxFree(Boolean taxFree)
           
 void setTaxIncluded(Boolean taxIncluded)
           
 void setTermsAccepted(Boolean termsAccepted)
           
 void setUserIP(String userIP)
           
 
Methods inherited from class ch.fastforward.magnolia.ocm.beans.OCMNumberedBean
getName, setName
 
Methods inherited from class ch.fastforward.magnolia.ocm.beans.OCMBean
getParentPath, getPath, getUuid, setParentPath, setPath, setUuid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultShoppingCartImpl

public DefaultShoppingCartImpl()

DefaultShoppingCartImpl

public DefaultShoppingCartImpl(javax.jcr.Node priceCategory)
Method Detail

addToShoppingCart

public int addToShoppingCart(String productUUID,
                             int quantity)
Addes a product to the cart. If there is already a cart item for this product the items quantity will be increased

Specified by:
addToShoppingCart in interface ShoppingCart
Parameters:
productUUID -
quantity -
Returns:

addToShoppingCart

public int addToShoppingCart(String productUUID,
                             int quantity,
                             Map<String,CartItemOption> options)
Specified by:
addToShoppingCart in interface ShoppingCart

removeFromShoppingCart

public void removeFromShoppingCart(String productUUID)
Removes the cart item containing the product with the passed in UUID.

Specified by:
removeFromShoppingCart in interface ShoppingCart
Parameters:
productUUID -

indexOfProduct

public int indexOfProduct(String productUUID)
Parameters:
productUUID -
Returns:
the index of the cart item containing the desired product

indexOfProduct

public int indexOfProduct(String productUUID,
                          Map<String,CartItemOption> options)

getCartItems

public ArrayList<ShoppingCartItem> getCartItems()
Specified by:
getCartItems in interface ShoppingCart

getPriceCategoryUUID

public String getPriceCategoryUUID()

setPriceCategoryUUID

public void setPriceCategoryUUID(String uuid)

addCartItem

public void addCartItem(ShoppingCartItem newItem)

getCartItemsCount

public int getCartItemsCount()
Specified by:
getCartItemsCount in interface ShoppingCart

getOrderAddressCompany

public String getOrderAddressCompany()

setOrderAddressCompany

public void setOrderAddressCompany(String orderAddressCompany)

getOrderAddressCompany2

public String getOrderAddressCompany2()

setOrderAddressCompany2

public void setOrderAddressCompany2(String orderAddressCompany2)

getTermsAccepted

public Boolean getTermsAccepted()

setTermsAccepted

public void setTermsAccepted(Boolean termsAccepted)

getAcceptedGTC

@Deprecated
public Boolean getAcceptedGTC()
Deprecated. Use getTermsAccepted()

Returns:

setAcceptedGTC

@Deprecated
public void setAcceptedGTC(Boolean acceptedGTC)
Deprecated. Use #setTermsAccepted()


getOrderAddressFirstname

public String getOrderAddressFirstname()

setOrderAddressFirstname

public void setOrderAddressFirstname(String orderAddressFirstname)

getOrderAddressLastname

public String getOrderAddressLastname()

setOrderAddressLastname

public void setOrderAddressLastname(String orderAddressLastname)

getOrderAddressSex

public String getOrderAddressSex()

setOrderAddressSex

public void setOrderAddressSex(String orderAddressSex)

getOrderAddressTitle

public String getOrderAddressTitle()

setOrderAddressTitle

public void setOrderAddressTitle(String orderAddressTitle)

getOrderAddressStreet

public String getOrderAddressStreet()

setOrderAddressStreet

public void setOrderAddressStreet(String orderAddressStreet)

getOrderAddressStreet2

public String getOrderAddressStreet2()

setOrderAddressStreet2

public void setOrderAddressStreet2(String orderAddressStreet2)

getOrderAddressZip

public String getOrderAddressZip()

setOrderAddressZip

public void setOrderAddressZip(String orderAddressZip)

getOrderAddressCity

public String getOrderAddressCity()

setOrderAddressCity

public void setOrderAddressCity(String orderAddressCity)

getOrderAddressState

public String getOrderAddressState()

setOrderAddressState

public void setOrderAddressState(String orderAddressState)

getOrderAddressCountry

public String getOrderAddressCountry()

setOrderAddressCountry

public void setOrderAddressCountry(String orderAddressCountry)

getOrderAddressPhone

public String getOrderAddressPhone()

setOrderAddressPhone

public void setOrderAddressPhone(String orderAddressPhone)

getOrderAddressMobile

public String getOrderAddressMobile()

setOrderAddressMobile

public void setOrderAddressMobile(String orderAddressMobile)

getOrderAddressMail

public String getOrderAddressMail()

setOrderAddressMail

public void setOrderAddressMail(String orderAddressMail)

getShippingAddressCompany

public String getShippingAddressCompany()

setShippingAddressCompany

public void setShippingAddressCompany(String shippingAddressCompany)

getShippingAddressCompany2

public String getShippingAddressCompany2()

setShippingAddressCompany2

public void setShippingAddressCompany2(String shippingAddressCompany2)

getShippingAddressFirstname

public String getShippingAddressFirstname()

setShippingAddressFirstname

public void setShippingAddressFirstname(String shippingAddressFirstname)

getShippingAddressLastname

public String getShippingAddressLastname()

setShippingAddressLastname

public void setShippingAddressLastname(String shippingAddressLastname)

getShippingAddressSex

public String getShippingAddressSex()

setShippingAddressSex

public void setShippingAddressSex(String shippingAddressSex)

getShippingAddressTitle

public String getShippingAddressTitle()

setShippingAddressTitle

public void setShippingAddressTitle(String shippingAddressTitle)

getShippingAddressStreet

public String getShippingAddressStreet()

setShippingAddressStreet

public void setShippingAddressStreet(String shippingAddressStreet)

getShippingAddressStreet2

public String getShippingAddressStreet2()

setShippingAddressStreet2

public void setShippingAddressStreet2(String shippingAddressStreet2)

getShippingAddressZip

public String getShippingAddressZip()

setShippingAddressZip

public void setShippingAddressZip(String shippingAddressZip)

getShippingAddressCity

public String getShippingAddressCity()

setShippingAddressCity

public void setShippingAddressCity(String shippingAddressCity)

getShippingAddressState

public String getShippingAddressState()

setShippingAddressState

public void setShippingAddressState(String shippingAddressState)

getShippingAddressCountry

public String getShippingAddressCountry()

setShippingAddressCountry

public void setShippingAddressCountry(String shippingAddressCountry)

getShippingAddressPhone

public String getShippingAddressPhone()

setShippingAddressPhone

public void setShippingAddressPhone(String shippingAddressPhone)

getShippingAddressMobile

public String getShippingAddressMobile()

setShippingAddressMobile

public void setShippingAddressMobile(String shippingAddressMobile)

getShippingAddressMail

public String getShippingAddressMail()

setShippingAddressMail

public void setShippingAddressMail(String shippingAddressMail)

getLanguage

public String getLanguage()
Specified by:
getLanguage in interface ShoppingCart

setLanguage

public void setLanguage(String language)
Specified by:
setLanguage in interface ShoppingCart

getOrderDate

public Date getOrderDate()

setOrderDate

public void setOrderDate(Date orderDate)

getUserIP

public String getUserIP()

setUserIP

public void setUserIP(String userIP)

getBillingAddressCompany

public String getBillingAddressCompany()

setBillingAddressCompany

public void setBillingAddressCompany(String billingAddressCompany)

getBillingAddressCompany2

public String getBillingAddressCompany2()

setBillingAddressCompany2

public void setBillingAddressCompany2(String billingAddressCompany2)

getBillingAddressFirstname

public String getBillingAddressFirstname()

setBillingAddressFirstname

public void setBillingAddressFirstname(String billingAddressFirstname)

getBillingAddressLastname

public String getBillingAddressLastname()

setBillingAddressLastname

public void setBillingAddressLastname(String billingAddressLastname)

getBillingAddressSex

public String getBillingAddressSex()

setBillingAddressSex

public void setBillingAddressSex(String billingAddressSex)

getBillingAddressTitle

public String getBillingAddressTitle()

setBillingAddressTitle

public void setBillingAddressTitle(String billingAddressTitle)

getBillingAddressStreet

public String getBillingAddressStreet()

setBillingAddressStreet

public void setBillingAddressStreet(String billingAddressStreet)

getBillingAddressStreet2

public String getBillingAddressStreet2()

setBillingAddressStreet2

public void setBillingAddressStreet2(String billingAddressStreet2)

getBillingAddressZip

public String getBillingAddressZip()

setBillingAddressZip

public void setBillingAddressZip(String billingAddressZip)

getBillingAddressCity

public String getBillingAddressCity()

setBillingAddressCity

public void setBillingAddressCity(String billingAddressCity)

getBillingAddressState

public String getBillingAddressState()

setBillingAddressState

public void setBillingAddressState(String billingAddressState)

getBillingAddressCountry

public String getBillingAddressCountry()

setBillingAddressCountry

public void setBillingAddressCountry(String billingAddressCountry)

getBillingAddressPhone

public String getBillingAddressPhone()

setBillingAddressPhone

public void setBillingAddressPhone(String billingAddressPhone)

getBillingAddressMobile

public String getBillingAddressMobile()

setBillingAddressMobile

public void setBillingAddressMobile(String billingAddressMobile)

getBillingAddressMail

public String getBillingAddressMail()

setBillingAddressMail

public void setBillingAddressMail(String billingAddressMail)

getCartDiscountRate

public Double getCartDiscountRate()

setCartDiscountRate

public void setCartDiscountRate(Double cartDiscountRate)

getGrossItemsTotalExclTaxBigDecimal

public BigDecimal getGrossItemsTotalExclTaxBigDecimal()

getGrossItemsTotalExclTax

public double getGrossItemsTotalExclTax()

getNetItemsTotalExclTaxBigDecimal

public BigDecimal getNetItemsTotalExclTaxBigDecimal()

getNetItemsTotalExclTax

public double getNetItemsTotalExclTax()

getGrossItemsTotalInclTaxBigDecimal

public BigDecimal getGrossItemsTotalInclTaxBigDecimal()

getGrossItemsTotalInclTax

public double getGrossItemsTotalInclTax()

getNetItemsTotalInclTaxBigDecimal

public BigDecimal getNetItemsTotalInclTaxBigDecimal()

getNetItemsTotalInclTax

public double getNetItemsTotalInclTax()

getGrossTotalExclTaxBigDecimal

@Deprecated
public BigDecimal getGrossTotalExclTaxBigDecimal()
Deprecated. Use getGrossItemsTotalExclTaxBigDecimal()

Returns:

getGrossTotalExclTax

@Deprecated
public double getGrossTotalExclTax()
Deprecated. Use getGrossItemsTotalExclTax()

Returns:

getGrossTotalInclTaxBigDecimal

@Deprecated
public BigDecimal getGrossTotalInclTaxBigDecimal()
Deprecated. Use getGrossItemsTotalInclTaxBigDecimal()

Returns:

getGrossTotalInclTax

@Deprecated
public double getGrossTotalInclTax()
Deprecated. Use getGrossItemsTotalInclTax()

Returns:

getGrossTotal

@Deprecated
public double getGrossTotal()
Deprecated. Use getCartTotalInclTax()

Returns:

getItemTaxTotalBigDecimal

public BigDecimal getItemTaxTotalBigDecimal()
Sums up the cart items tax and applies the discount rate if there is any.

Returns:

getItemTaxTotal

public double getItemTaxTotal()

getCartDiscount

public double getCartDiscount()

getNetTotal

@Deprecated
public double getNetTotal()
Deprecated. Use getNetItemsTotalExclTax() or getNetItemsTotalInclTax()

Returns:

getShippingCostBigDecimal

public BigDecimal getShippingCostBigDecimal()
Returns:
the shippingCost

getShippingCostInclTaxBigDecimal

public BigDecimal getShippingCostInclTaxBigDecimal()

getShippingCostInclTax

public double getShippingCostInclTax()

getShippingCostExclTaxBigDecimal

public BigDecimal getShippingCostExclTaxBigDecimal()

getShippingCostExclTax

public double getShippingCostExclTax()

getShippingCostTax

public BigDecimal getShippingCostTax()

setShippingCostBigDecimal

public void setShippingCostBigDecimal(BigDecimal shippingCost)
Setter method for the shipping cost. Be aware that shipping cost is usually set by setShippingOptionUUID().

Parameters:
shippingCost - the shippingCost to set

getTotalWeight

public double getTotalWeight()

getTotalWeightBigDecimal

public BigDecimal getTotalWeightBigDecimal()

getTargetDeliveryDate

public Date getTargetDeliveryDate()

setTargetDeliveryDate

public void setTargetDeliveryDate(Date targetDeliveryDate)

getDeliveryDate

public Date getDeliveryDate()

setDeliveryDate

public void setDeliveryDate(Date deliveryDate)

getTaxIncluded

public Boolean getTaxIncluded()
Returns:
the taxIncluded

setTaxIncluded

public void setTaxIncluded(Boolean taxIncluded)
Parameters:
taxIncluded - the taxIncluded to set

getPaymentDate

public Date getPaymentDate()
Returns:
the paymentDate

setPaymentDate

public void setPaymentDate(Date paymentDate)
Parameters:
paymentDate - the paymentDate to set

getPaymentType

public String getPaymentType()
Returns:
the paymentType

setPaymentType

public void setPaymentType(String paymentType)
Parameters:
paymentType - the paymentType to set

getPaymentID

public String getPaymentID()
Returns:
the paymentID

setPaymentID

public void setPaymentID(String paymentID)
Parameters:
paymentID - the paymentID to set

getTaxFree

public Boolean getTaxFree()
Returns:
the taxFree

setTaxFree

public void setTaxFree(Boolean taxFree)
Parameters:
taxFree - the taxFree to set

getShippingOptionUUID

public String getShippingOptionUUID()
Returns:
the shippingOptionUUID

setShippingOptionUUID

public void setShippingOptionUUID(String shippingOptionUUID)
Parameters:
shippingOptionUUID - the shippingOptionUUID to set

getCartTotalInclTaxBigDecimal

public BigDecimal getCartTotalInclTaxBigDecimal()

getCartTotalInclTax

public double getCartTotalInclTax()

getCartTotalExclTaxBigDecimal

public BigDecimal getCartTotalExclTaxBigDecimal()

getCartTotalExclTax

public double getCartTotalExclTax()

getCartTaxBigDecimal

public BigDecimal getCartTaxBigDecimal()

getCartTax

public double getCartTax()

getShippingCostTaxIncluded

public Boolean getShippingCostTaxIncluded()
Returns:
the shippingCostTaxIncluded

setShippingCostTaxIncluded

public void setShippingCostTaxIncluded(Boolean shippingCostTaxIncluded)
Parameters:
shippingCostTaxIncluded - the shippingCostTaxIncluded to set

getShippingCostTaxRate

public BigDecimal getShippingCostTaxRate()
Returns:
the shippingCostTaxRate

setShippingCostTaxRate

public void setShippingCostTaxRate(BigDecimal shippingCostTaxRate)
Parameters:
shippingCostTaxRate - the shippingCostTaxRate to set

getShippingOptionTitle

public String getShippingOptionTitle()
Returns:
the shippingOptionTitle

setShippingOptionTitle

public void setShippingOptionTitle(String shippingOptionTitle)
Parameters:
shippingOptionTitle - the shippingOptionTitle to set

getFormStateToken

public String getFormStateToken()
Returns:
the formStateToken

setFormStateToken

public void setFormStateToken(String formStateToken)
Parameters:
formStateToken - the formStateToken to set


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.