public class Basket extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Basket.PayementServiceBean |
Modifier and Type | Field and Description |
---|---|
static int |
CONFIRMATION_STEP |
static int |
ERROR_STEP |
static int |
FINAL_STEP |
static String |
KEY |
static int |
ORDER_STEP |
static int |
REGISTRATION_STEP |
static int |
START_STEP |
static String |
STATUS_MANUAL_PAYED |
static String |
STATUS_NEW |
static String |
STATUS_SENDED |
static String |
STATUS_TO_BE_VERIFIED |
static String |
STATUS_UNVALIDED |
static String |
STATUS_VALIDED |
static String |
STATUS_WAIT_PAY |
Constructor and Description |
---|
Basket() |
public static final int START_STEP
public static final int REGISTRATION_STEP
public static final int ORDER_STEP
public static final int CONFIRMATION_STEP
public static final int FINAL_STEP
public static final int ERROR_STEP
public static final String STATUS_UNVALIDED
public static final String STATUS_VALIDED
public static final String STATUS_TO_BE_VERIFIED
public static final String STATUS_MANUAL_PAYED
public static final String STATUS_NEW
public static final String STATUS_WAIT_PAY
public static final String STATUS_SENDED
public static final String KEY
public static void setInstance(ContentContext ctx, Basket basket)
public static String renderPrice(ContentContext ctx, double price, String currency)
public static Basket getInstance(ContentContext ctx)
public String getStatus()
public void setStatus(String status)
public void reset(ContentContext ctx)
public static boolean isInstance(ContentContext ctx)
public void payAll(ContentContext ctx)
public void reserve(ContentContext ctx)
public void addProduct(Product product)
public void removeProduct(String id)
public int getProductCount()
public double getTotal(ContentContext ctx, boolean vat)
public String getTotalString(ContentContext ctx, boolean vat)
public String getVAT(ContentContext ctx)
public String getDeliveryZone()
public double getDelivery(ContentContext ctx, boolean vat)
protected EcomService getEcomService(ContentContext ctx)
public int getSize()
public boolean isValid()
public void setValid(boolean valid)
public void init(ContentContext ctx)
public String getId()
public String getStructutedCommunication()
public void setId(String id)
public String getCurrencyCode()
public boolean isConfirm()
public void setConfirm(boolean confirm)
public String getContactEmail()
public void setContactEmail(String contactEmail)
public String getContactPhone()
public void setContactPhone(String contactPhone)
public String getFirstName()
public void setFirstName(String firstName)
public String getLastName()
public void setLastName(String lastName)
public String getOrganization()
public void setOrganization(String organization)
public String getVATNumber()
public void setVATNumber(String vatNumber)
public String getAddress()
public void setAddress(String address)
public String getVatNumber()
public void setVatNumber(String vatNumber)
public String getCountry()
public void setCountry(String country)
public String getZip()
public void setZip(String zip)
public String getCity()
public void setCity(String city)
public String getInfo()
public void setInfo(String info)
public int getStep()
public void setStep(int step)
public List<Basket.PayementServiceBean> getServices()
public Date getDate()
public String getDateString()
public void setDate(Date date)
public static void main(String[] args)
public List<Product.ProductBean> getProductsBean()
public String getProductsBeanToString()
public String getToken()
public void setToken(String token)
public String getPayerID()
public void setPayerID(String payerID)
public String getValidationInfo()
public void setValidationInfo(String validationInfo)
public Object getTransactionManager()
public void setTransactionManager(Object transactionManager)
public boolean isDeleted()
public void setDeleted(boolean deleted)
public String getAdministratorEmail(ContentContext ctx)
public String getTransfertAddressLogin()
public void setTransfertAddressLogin(String login)
login
- public String getUser()
public void setUser(String user)
public String getDescription()
public void setDescription(String description)
public boolean isDisplayInfo()
public boolean isReadyToSend()
public boolean isPresumptiveFraud()
public void setPresumptiveFraud(boolean presumptiveFraud)
public double getUserReduction()
public void setUserReduction(double userReduction)
public boolean isNoShipping()
public void setNoShipping(boolean noShipping)
Copyright © 2012-2018. All Rights Reserved.