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