Uses of Class
org.salespointframework.order.Order
-
Packages that use Order Package Description org.salespointframework.accountancy Accountancy subsystem.org.salespointframework.order The order subsystem. -
-
Uses of Order in org.salespointframework.accountancy
Methods in org.salespointframework.accountancy with parameters of type Order Modifier and Type Method Description boolean
ProductPaymentEntry. belongsTo(Order order)
Returns whether theProductPaymentEntry
belongs to the givenOrder
.static ProductPaymentEntry
ProductPaymentEntry. of(Order order, String description)
static ProductPaymentEntry
ProductPaymentEntry. rollback(Order order, String description)
Creates a newProductPaymentEntry
that rolls back the payment for the givenOrder
. -
Uses of Order in org.salespointframework.order
Classes in org.salespointframework.order with type parameters of type Order Modifier and Type Interface Description interface
OrderManager<T extends Order>
A service to manageOrder
s.Methods in org.salespointframework.order that return Order Modifier and Type Method Description Order
Cart. addItemsTo(Order order)
Turns the current state of the cart into anOrder
.Order
Cart. createOrderFor(UserAccount user)
Creates a new Order for the givenUserAccount
from the currentCart
.Order
Order.OrderCancelled. getOrder()
Order
Order.OrderCompleted. getOrder()
Order
Order.OrderPaid. getOrder()
Order
OrderCompletionFailure. getOrder()
@NonNull Order
OrderCompletionReport. getOrder()
Methods in org.salespointframework.order with parameters of type Order Modifier and Type Method Description Order
Cart. addItemsTo(Order order)
Turns the current state of the cart into anOrder
.static OrderCompletionReport
OrderCompletionReport. failed(Order order)
Creates anOrderCompletionReport
for anOrder
that's marked as failed.static OrderCompletionReport
OrderCompletionReport. forCompletions(Order order, Iterable<OrderCompletionReport.OrderLineCompletion> completions)
Creates a newOrderCompletionReport
for the givenOrder
andOrderCompletionReport.OrderLineCompletion
s.static Order.OrderCancelled
Order.OrderCancelled. of(Order order, String reason)
static Order.OrderCompleted
Order.OrderCompleted. of(Order order)
static Order.OrderPaid
Order.OrderPaid. of(Order order)
static OrderCompletionReport
OrderCompletionReport. success(Order order)
Creates anOrderCompletionReport
representing a successful verification of the givenOrder
.Constructors in org.salespointframework.order with parameters of type Order Constructor Description OrderCompletionFailure(Order order, String message)
Creates a newOrderCompletionFailure
for the givenOrder
and message.
-