Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
The invoice handling failed.
The invoice is not paid but will not be handled automatically.
A manual invoice handling (capture or refund) is necessary.
The invoice is not paid and will be handled automatically.
The invoice was successfully paid.
The invoice was created for an appeasement.
The invoice amount needs to be refunded.
The invoice was created for a return.
The invoice amount needs to be refunded.
The invoice was created for a return case.
The invoice amount needs to be refunded.
The invoice was created for a shipping order.
The invoice amount needs to be captured.
Associate a payment capture for a OrderPaymentInstrument with an Invoice using addCaptureTransaction(OrderPaymentInstrument, Money).
This FilteringCollection can be sorted / filtered using:
This FilteringCollection can be sorted / filtered using:
Associate a payment capture for a OrderPaymentInstrument with an Invoice using addRefundTransaction(OrderPaymentInstrument, Money).
The possible values are STATUS_NOT_PAID, STATUS_MANUAL, STATUS_PAID, STATUS_FAILED.
The possible values are TYPE_SHIPPING, TYPE_RETURN, TYPE_RETURN_CASE, TYPE_APPEASEMENT.
The invoice will be accounted.
The possible values are STATUS_NOT_PAID, STATUS_MANUAL, STATUS_PAID, STATUS_FAILED.
The possible values are TYPE_SHIPPING, TYPE_RETURN, TYPE_RETURN_CASE, TYPE_APPEASEMENT.
The possible values are STATUS_NOT_PAID, STATUS_MANUAL, STATUS_PAID, STATUS_FAILED.
The invoice will be accounted.
It will be captured in case of a shipping invoice and it will be refunded in
case of an appeasement, return case or return invoice.
The accounting will be handled in the payment hooks
PaymentHooks.capture(Invoice) or
PaymentHooks.refund(Invoice). The implementing script could add
payment transactions to the invoice. The accompanying business logic will
set the status to PAID
or FAILED
.
The accounting will fail when the invoice state is different to STATUS_NOT_PAID or STATUS_FAILED.
The method implements its own transaction handling. The method must not be called inside a transaction.
true
when the accounting was successful, otherwise false
.
Associate a payment capture for a OrderPaymentInstrument with an Invoice using addCaptureTransaction(OrderPaymentInstrument, Money).
This FilteringCollection can be sorted / filtered using:
This FilteringCollection can be sorted / filtered using:
Associate a payment capture for a OrderPaymentInstrument with an Invoice using addRefundTransaction(OrderPaymentInstrument, Money).
The possible values are STATUS_NOT_PAID, STATUS_MANUAL, STATUS_PAID, STATUS_FAILED.
The possible values are TYPE_SHIPPING, TYPE_RETURN, TYPE_RETURN_CASE, TYPE_APPEASEMENT.
The possible values are STATUS_NOT_PAID, STATUS_MANUAL, STATUS_PAID, STATUS_FAILED.