|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.entity.AbstractBasicEntity
org.torweg.pulse.component.shop.checkout.Order
@Entity(name="checkout_Order") public class Order
The Order.
| Nested Class Summary | |
|---|---|
static class |
Order.OrderBuilder
The OrderBuilder. |
| Constructor Summary | |
|---|---|
protected |
Order()
Deprecated. |
| Method Summary | |
|---|---|
Address |
getBillingAddress()
Returns the billing address. |
Customer |
getCustomer()
Returns the Customer. |
Address |
getDeliveryAddress()
Returns the delivery address. |
DispatchData |
getDispatchData()
Returns the DispatchData. |
static java.lang.Long |
getIdFromSession(Bundle bundle,
java.util.Locale locale, ServiceSession session)
Returns the order id attribute for the given Bundle and
Locale from the given ServiceSession. |
OrderContents |
getOrderContents()
Returns the OrderContents. |
OrderDetails |
getOrderDetails()
Returns the OrderDetails. |
OrderMetaData |
getOrderMetaData()
Returns the OrderMetaData. |
PaymentData |
getPaymentData()
Returns the PaymentData. |
TotalPrice |
getTotalPrice()
Returns the TotalPrice. |
static void |
putIdIntoSession(Order order, ServiceSession session)
Sets the given Order's id as an attribute of the given
ServiceSession. |
static void |
removeIdFromSession(Bundle bundle,
java.util.Locale locale, ServiceSession session)
Removes the order id attribute for the given Bundle and
Locale from the given ServiceSession. |
net.sf.json.JSONObject |
toJSON()
Returns a JSON-representation of the Order. |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity |
|---|
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated protected Order()
| Method Detail |
|---|
public final Customer getCustomer()
Customer.
Customer.public final Address getDeliveryAddress()
public final Address getBillingAddress()
public final DispatchData getDispatchData()
DispatchData.
DispatchData.public final PaymentData getPaymentData()
PaymentData.
PaymentData.public final OrderDetails getOrderDetails()
OrderDetails.
OrderDetails.public final OrderContents getOrderContents()
OrderContents.
OrderContents.public final TotalPrice getTotalPrice()
TotalPrice.
TotalPrice.public final OrderMetaData getOrderMetaData()
OrderMetaData.
OrderMetaData.public final net.sf.json.JSONObject toJSON()
Order.
public static final void putIdIntoSession(Order order, ServiceSession session)
Order's id as an attribute of the given
ServiceSession.
order - the Order.session - the ServiceSession.
public static final java.lang.Long getIdFromSession(Bundle bundle,
java.util.Locale locale, ServiceSession session)
Bundle and
Locale from the given ServiceSession.
bundle - the Bundle.locale - the Locale.session - the ServiceSession.
public static final void removeIdFromSession(Bundle bundle,
java.util.Locale locale, ServiceSession session)
Bundle and
Locale from the given ServiceSession.
bundle - the Bundle.locale - the Locale.session - the ServiceSession.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||