public class EcomService extends Object
Constructor and Description |
---|
EcomService() |
Modifier and Type | Method and Description |
---|---|
void |
deletePayementService(String name) |
double |
getDefaultDelivery() |
List<PayementExternalService> |
getExternalService()
return the external service (as paypal, Ogone...) for pay on the site.
|
PayementExternalService |
getExternalService(String name) |
static EcomService |
getInstance(GlobalContext globalContext,
javax.servlet.http.HttpSession session) |
void |
setDefaultDelivery(Double price) |
void |
storeBasket(Basket basket) |
void |
storePayementService(PayementExternalService service) |
public static EcomService getInstance(GlobalContext globalContext, javax.servlet.http.HttpSession session)
public void storeBasket(Basket basket)
public List<PayementExternalService> getExternalService()
public PayementExternalService getExternalService(String name)
public void storePayementService(PayementExternalService service)
public void deletePayementService(String name)
public double getDefaultDelivery()
public void setDefaultDelivery(Double price)
Copyright © 2012-2018. All Rights Reserved.