Uses of Record Class
com.example.orderplatform.payments.domain.Payment
Packages that use Payment
Package
Description
-
Uses of Payment in com.example.orderplatform.payments.application
Methods in com.example.orderplatform.payments.application that return PaymentModifier and TypeMethodDescriptionPersists the current payment state.Methods in com.example.orderplatform.payments.application that return types with arguments of type PaymentModifier and TypeMethodDescriptionFinds a payment by identifier.PaymentStore.findByOrderId(UUID orderId) Finds the payment prepared for an order.Methods in com.example.orderplatform.payments.application with parameters of type Payment -
Uses of Payment in com.example.orderplatform.payments.domain
Methods in com.example.orderplatform.payments.domain that return PaymentModifier and TypeMethodDescriptionPayment.authorize(OffsetDateTime authorizedAt) Authorizes this payment when it is still pending.static PaymentPayment.pending(UUID id, UUID orderId, Money amount, OffsetDateTime createdAt) Creates a pending payment for a submitted order.