com.liferay.portlet.shopping.util
Class ShoppingPreferences
java.lang.Object
com.liferay.portlet.shopping.util.ShoppingPreferences
public class ShoppingPreferences
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CC_NONE
public static final java.lang.String CC_NONE
- See Also:
- Constant Field Values
CC_TYPES
public static final java.lang.String[] CC_TYPES
CURRENCY_IDS
public static final java.lang.String[] CURRENCY_IDS
SHIPPING_RANGE
public static final double[] SHIPPING_RANGE
INSURANCE_RANGE
public static final double[] INSURANCE_RANGE
ShoppingPreferences
protected ShoppingPreferences(long companyId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getInstance
public static ShoppingPreferences getInstance(long companyId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPayPalEmailAddress
public java.lang.String getPayPalEmailAddress()
setPayPalEmailAddress
public void setPayPalEmailAddress(java.lang.String payPalEmailAddress)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
usePayPal
public boolean usePayPal()
getCurrencyId
public java.lang.String getCurrencyId()
setCurrencyId
public void setCurrencyId(java.lang.String currencyId)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getCcTypes
public java.lang.String[] getCcTypes()
setCcTypes
public void setCcTypes(java.lang.String[] ccTypes)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getTaxState
public java.lang.String getTaxState()
setTaxState
public void setTaxState(java.lang.String taxState)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getTaxRate
public double getTaxRate()
setTaxRate
public void setTaxRate(double taxRate)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getShippingFormula
public java.lang.String getShippingFormula()
setShippingFormula
public void setShippingFormula(java.lang.String shippingFormula)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getShipping
public java.lang.String[] getShipping()
setShipping
public void setShipping(java.lang.String[] shipping)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getAlternativeShipping
public java.lang.String[][] getAlternativeShipping()
setAlternativeShipping
public void setAlternativeShipping(java.lang.String[][] alternativeShipping)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
useAlternativeShipping
public boolean useAlternativeShipping()
getAlternativeShippingName
public java.lang.String getAlternativeShippingName(int altShipping)
getInsuranceFormula
public java.lang.String getInsuranceFormula()
setInsuranceFormula
public void setInsuranceFormula(java.lang.String insuranceFormula)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getInsurance
public java.lang.String[] getInsurance()
setInsurance
public void setInsurance(java.lang.String[] insurance)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getMinOrder
public double getMinOrder()
setMinOrder
public void setMinOrder(double minOrder)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getEmailFromAddress
public java.lang.String getEmailFromAddress()
setEmailFromAddress
public void setEmailFromAddress(java.lang.String emailFromAddress)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getEmailFromName
public java.lang.String getEmailFromName()
setEmailFromName
public void setEmailFromName(java.lang.String emailFromName)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getEmailOrderConfirmationEnabled
public boolean getEmailOrderConfirmationEnabled()
setEmailOrderConfirmationEnabled
public void setEmailOrderConfirmationEnabled(boolean emailOrderConfirmationEnabled)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getEmailOrderConfirmationBody
public java.lang.String getEmailOrderConfirmationBody()
setEmailOrderConfirmationBody
public void setEmailOrderConfirmationBody(java.lang.String emailOrderConfirmationBody)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getEmailOrderConfirmationSubject
public java.lang.String getEmailOrderConfirmationSubject()
setEmailOrderConfirmationSubject
public void setEmailOrderConfirmationSubject(java.lang.String emailOrderConfirmationSubject)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getEmailOrderShippingEnabled
public boolean getEmailOrderShippingEnabled()
setEmailOrderShippingEnabled
public void setEmailOrderShippingEnabled(boolean emailOrderShippingEnabled)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getEmailOrderShippingBody
public java.lang.String getEmailOrderShippingBody()
setEmailOrderShippingBody
public void setEmailOrderShippingBody(java.lang.String emailOrderShippingBody)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
getEmailOrderShippingSubject
public java.lang.String getEmailOrderShippingSubject()
setEmailOrderShippingSubject
public void setEmailOrderShippingSubject(java.lang.String emailOrderShippingSubject)
throws javax.portlet.ReadOnlyException
- Throws:
javax.portlet.ReadOnlyException
store
public void store()
throws java.io.IOException,
javax.portlet.ValidatorException
- Throws:
java.io.IOException
javax.portlet.ValidatorException