Allow frontends to store completely arbitrary helper attributes for each
ship group. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899854 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -4307,11 +4307,24 @@ public class ShoppingCart implements Serializable {
|
||||
public Timestamp shipAfterDate = null;
|
||||
private String shipGroupSeqId = null;
|
||||
public String vendorPartyId = null;
|
||||
public Map<String, Object> attributes = FastMap.newInstance();
|
||||
|
||||
public CartShipInfo() {
|
||||
// Debug.logInfo(new Exception(), "Created a new CartShipInfo", module);
|
||||
}
|
||||
|
||||
public void setAttribute(String name, Object value) {
|
||||
this.attributes.put(name, value);
|
||||
}
|
||||
|
||||
public void removeAttribute(String name) {
|
||||
this.attributes.remove(name);
|
||||
}
|
||||
|
||||
public Object getAttribute(String name) {
|
||||
return this.attributes.get(name);
|
||||
}
|
||||
|
||||
public String getOrderTypeId() { return orderTypeId; }
|
||||
|
||||
public String getContactMechId() { return internalContactMechId; }
|
||||
|
||||
Reference in New Issue
Block a user