RequestPayment

@Summary(value = "Request a payment")
data class RequestPayment(val orderId: String, val amount: BigDecimal)

Requests the payment of amount for the order orderId. The order-payment saga sends it once the ordering context confirms the order's stock.

Constructors

Link copied to clipboard
constructor(orderId: String, amount: BigDecimal)

Properties

Link copied to clipboard
@Positive
val amount: BigDecimal
Link copied to clipboard