AbstractEntity.equals(Object)
and AbstractEntity.hashCode()
.Accountancy
interface is implemented by classes offering a basic accounting service.PersistentAccountancyEntry
with a specific value.PersistentAccountancyEntry
with a specific value and a user defined description.AccountancyEntryIdentifier
serves as an identifier type for AccountancyEntry
objects.AccountancyEntry
to this Accountancy
.Order.addOrderLine(Product, Quantity)
instead.Order.addChargeLine(MonetaryAmount, String)
insteadQuantity
to the current one.Role
to the UserAccount
.Product
to the given category.ChargeLine
with the given price and description to the Order
.ChargeLine.AttachedChargeLine
with the given price and description to the OrderLine
with the given
index.ChargeLine.AttachedChargeLine
with the given price and description to the given OrderLine
.Order
.Totalable
with the given one added to the current one.AuthenticationManager
as a Spring bean.ProductPaymentEntry
belongs to the given Order
.ChargeLine.AttachedChargeLine
belongs to the given OrderLine
.Order
, no matter what state it is in.PaymentMethod
is used to designate all payments made in cash.Cash.CASH
is defined in this class, which can be reused, instead of instantiating a
new instance every time one is needed.Product
sUserAccount
.ChargeLine
that's attached to an OrderLine
.Cheque
instance.OrderStatus
has to be OrderStatus.PAID
.MailSender
implementation writing the SimpleMailMessage
to be sent into the logs.OrderManager
contains an order.LocalDateTime
is contained in the current Interval
.UserAccount
exists.UserAccount
and persists it right away.UserAccount
and persists it right away.UserAccount
from the current Cart
.CurrencyUnit
constants.InventoryItem
by the given Quantity
.Order
.UserAccount
.UserAccount
.Interval
into smaller intervals of the given duration.UserAccount
.OrderCompletionReport.OrderLineCompletion
representing an erroneous OrderLine
alongside an error message.OrderCompletionReport
for an Order
that's marked as failed.AccountancyEntry
s that were created in the given Interval
.AccountancyEntry
s of the specified type clazz
and all sub-types, previously added to
the accountancy.Page
of orders specified by the given Pageable
.UserAccount
s.Order
s of the given UserAccount
.Order
s from the given UserAccount
in between the dates from
and to
,
including from and to.Product
that are assigned to all given categories.Product
that are assigned to all given categories.Product
s that are assigned to any of the given categories.Product
s that are assigned to any of the given categories.Product
s assigned to the given category.Product
s with the given name.InventoryItem
for the given Product
.InventoryItem
for the Product
with the given identifier.UserAccount
s.UserAccount
s.InventoryItem
s that are out of stock (i.e. the Quantity
's amount is equal or less than
zero).OrderCompletionReport
for the given Order
and OrderCompletionReport.OrderLineCompletion
s.Duration
.Metric
for the given abbreviation.Interval
with the given start time.AccountancyEntry
of type clazz
and all sub-types, identified by
AccountancyEntryIdentifier
.OrderIdentifier
UserAccount
for a given identifier.ChargeLine
instances, i.e. both standard ones and ChargeLine.AttachedChargeLine
s.Product
is assigned to.ChargeLine
instances registered for the current Order
.ChargeLine.AttachedChargeLine
s for the OrderLine
with the given index.ChargeLine.AttachedChargeLine
s for the given OrderLine
.Order.getChargeLines()
, Order.getAllChargeLines()
and call
PricedTotalable#getTotal()
on the result for fine grained control over which
ChargeLine
s to calculate the total for.UserAccount
of the currently logged in user or Optional.empty()
if no-one is currently
logged in.Interval
.UserAccount
.BusinessTime.forward(Duration)
.Order.getOrderLines()
and call Totalable.getTotal()
on the result.OrderIdentifier
which this ProductPaymentEntry
refers to.PaymentMethod
chosen for the order belonging to this ProductPaymentEntry
SimpleMailMessage
s that have been recorded so far.Interval
.Order
.Priced
elements contained in this Totalable
.Order.getTotal()
instead.UserAccount
which this ProductPaymentEntry
refers to.LineItemFilter
that accepts all OrderLine
s.LineItemFilter
that does not consider any OrderLine
s.AccountancyEntry
already has a Date
set.UserAccount
has a specific Role
InventoryItem
is available in exactly or more of the given quantity.InventoryItem
by the given Quantity
.Interval
s.InventoryItem
s.InventoryItemIdentifier
serves as an identifier type for InventoryItem
objects.ApplicationListener
for Order.OrderCompleted
events to verify that sufficient amounts of the
Product
the OrderLine
s contained in the Order
point to are available in the
Inventory
.Metric
isCart
is currently empty.OrderCompletionReport.OrderLineCompletion
represents a failure.Quantity
is greater than the current one.Quantity
is greater than or equal to the current one.Quantity
is less than the current one.Quantity
is negative.Predicate
to allow defining whether the OrderLine
s should be post processed by the
InventoryOrderEventListener
.UserAccount
of the currently logged in user
injected.Password
matches the given existing one.Quantity
of the given amount.Quantity
of the given amount.Role
instance with the given name.ProductPaymentEntry
for the order that has been paid.ProductPaymentEntry
for the order that is cancelled if there's a revenue entry for the
given order already, i.e. the order has been paid before.Order.OrderCompleted
events.Function
to produce an exception in case the report has errors.Consumer
in case the OrderCompletionReport.OrderLineCompletion
is successful.Order.OrderCompleted
event wants to indicate failure of the completion.OrderCompletionFailure
for the given Order
and message.OrderCompletionFailure
for the given OrderCompletionReport
.OrderLine
.OrderIdentifier
serves as an identifier type for Order
objects.Order
s.Interval
overlaps with the given one.PaymentCard
is used to charge the cost of goods or services to an account, belonging to the party
identified on the card.PaymentCard
.PaymentMethod
specifies a medium by which a payment has or will be made.Product
with the given name and price.Product
objects.ProductPaymentEntry
is used to store information of payments of orders.ProductPaymentEntry
is constructed for a specific OrderIdentifier
attached to it.MailSender
implementation that allows looking up all SimpleMailMessage
s that have been sent.OrderLine
as well as all ChargeLine.AttachedChargeLine
associated with it.ChargeLine.AttachedChargeLine
from the Order
.Role
from a UserAccount
.ChargeLine.AttachedChargeLine
s attached to the given OrderLine
.CartItem
with the given identifier.ProductPaymentEntry
that rolls back the payment for the given Order
.AuthenticationManagerBuilder
to work with the
UserDetailsService
implementation as well as the PasswordEncoder
we provide.amount
of all AccountancyEntry
s which have their date
within
(including) from
and to
.Order
or persists changes to it.UserAccount
OrderLine
should be handled considering the given LineItemFilter
s.OrderCompletionReport.OrderLineCompletion
representing the successful completion of an OrderLine
.OrderCompletionReport
representing a successful verification of the given Order
.Interval
from the current start time until the given end time.Streamable
of Priced
objects that expose a Totalable.getTotal()
method so that the
combined price can be calculated easily.UserAccountIdentifier
serves as an identifier type for UserAccount
objects.UserAccount
instances.Interval
from the current start time adding the given TemporalAmount
to it.Copyright © 2019. All rights reserved.