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
INSURANCE_RANGE
public static final double[] INSURANCE_RANGE
SHIPPING_RANGE
public static final double[] SHIPPING_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
getAlternativeShipping
public String[][] getAlternativeShipping()
getAlternativeShippingName
public String getAlternativeShippingName(int altShipping)
getCcTypes
public String[] getCcTypes()
getCurrencyId
public String getCurrencyId()
getEmailFromAddress
public String getEmailFromAddress(long companyId)
throws SystemException
- Throws:
SystemException
getEmailFromName
public String getEmailFromName(long companyId)
throws SystemException
- Throws:
SystemException
getEmailOrderConfirmationBody
public String getEmailOrderConfirmationBody()
getEmailOrderConfirmationEnabled
public boolean getEmailOrderConfirmationEnabled()
getEmailOrderConfirmationSubject
public String getEmailOrderConfirmationSubject()
getEmailOrderShippingBody
public String getEmailOrderShippingBody()
getEmailOrderShippingEnabled
public boolean getEmailOrderShippingEnabled()
getEmailOrderShippingSubject
public String getEmailOrderShippingSubject()
getInsurance
public String[] getInsurance()
getInsuranceFormula
public String getInsuranceFormula()
getMinOrder
public double getMinOrder()
getPayPalEmailAddress
public String getPayPalEmailAddress()
getShipping
public String[] getShipping()
getShippingFormula
public String getShippingFormula()
getTaxRate
public double getTaxRate()
getTaxState
public String getTaxState()
setAlternativeShipping
public void setAlternativeShipping(String[][] alternativeShipping)
throws ReadOnlyException
- Throws:
ReadOnlyException
setCcTypes
public void setCcTypes(String[] ccTypes)
throws ReadOnlyException
- Throws:
ReadOnlyException
setCurrencyId
public void setCurrencyId(String currencyId)
throws ReadOnlyException
- Throws:
ReadOnlyException
setEmailFromAddress
public void setEmailFromAddress(String emailFromAddress)
throws ReadOnlyException
- Throws:
ReadOnlyException
setEmailFromName
public void setEmailFromName(String emailFromName)
throws ReadOnlyException
- Throws:
ReadOnlyException
setEmailOrderConfirmationBody
public void setEmailOrderConfirmationBody(String emailOrderConfirmationBody)
throws ReadOnlyException
- Throws:
ReadOnlyException
setEmailOrderConfirmationEnabled
public void setEmailOrderConfirmationEnabled(boolean emailOrderConfirmationEnabled)
throws ReadOnlyException
- Throws:
ReadOnlyException
setEmailOrderConfirmationSubject
public void setEmailOrderConfirmationSubject(String emailOrderConfirmationSubject)
throws ReadOnlyException
- Throws:
ReadOnlyException
setEmailOrderShippingBody
public void setEmailOrderShippingBody(String emailOrderShippingBody)
throws ReadOnlyException
- Throws:
ReadOnlyException
setEmailOrderShippingEnabled
public void setEmailOrderShippingEnabled(boolean emailOrderShippingEnabled)
throws ReadOnlyException
- Throws:
ReadOnlyException
setEmailOrderShippingSubject
public void setEmailOrderShippingSubject(String emailOrderShippingSubject)
throws ReadOnlyException
- Throws:
ReadOnlyException
setInsurance
public void setInsurance(String[] insurance)
throws ReadOnlyException
- Throws:
ReadOnlyException
setInsuranceFormula
public void setInsuranceFormula(String insuranceFormula)
throws ReadOnlyException
- Throws:
ReadOnlyException
setMinOrder
public void setMinOrder(double minOrder)
throws ReadOnlyException
- Throws:
ReadOnlyException
setPayPalEmailAddress
public void setPayPalEmailAddress(String payPalEmailAddress)
throws ReadOnlyException
- Throws:
ReadOnlyException
setShipping
public void setShipping(String[] shipping)
throws ReadOnlyException
- Throws:
ReadOnlyException
setShippingFormula
public void setShippingFormula(String shippingFormula)
throws ReadOnlyException
- Throws:
ReadOnlyException
setTaxRate
public void setTaxRate(double taxRate)
throws ReadOnlyException
- Throws:
ReadOnlyException
setTaxState
public void setTaxState(String taxState)
throws ReadOnlyException
- Throws:
ReadOnlyException
store
public void store()
throws IOException,
ValidatorException
- Throws:
IOException
ValidatorException
useAlternativeShipping
public boolean useAlternativeShipping()
usePayPal
public boolean usePayPal()