Class PaymentController.PaymentResponse
java.lang.Object
io.github.ravocode.avoonce.sample.PaymentController.PaymentResponse
- Enclosing class:
PaymentController
Response payload returned after processing a payment request.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe number of processing attempts observed so far.The processing status for the payment.The generated transaction identifier. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for serialization frameworks.PaymentResponse(String transactionId, String status, int processedAttempts) Creates a payment response with the supplied outcome details. -
Method Summary
-
Field Details
-
transactionId
The generated transaction identifier. -
status
The processing status for the payment. -
processedAttempts
public int processedAttemptsThe number of processing attempts observed so far.
-
-
Constructor Details
-
PaymentResponse
public PaymentResponse()Default constructor for serialization frameworks. -
PaymentResponse
-