PaymentCreationResult, PaymentTransactionCreationResultAbstractPaymentOperationResult, PaymentCreationResultImpl, PaymentTransactionCreationResultImplpublic interface PaymentOperationResult
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Optional<java.lang.Throwable> |
getException() |
If the operation failed because of an exception, then it is stored here.
|
java.util.Optional<java.lang.String> |
getMessage() |
Can provide a message that describes the cause of the operation result.
|
OperationResult |
getOperationResult() |
|
java.util.Optional<io.sphere.sdk.payments.Payment> |
getRelatedPaymentObject() |
If the operation succeeded then this is the payment object that has been created.
|
OperationResult getOperationResult()
java.util.Optional<io.sphere.sdk.payments.Payment> getRelatedPaymentObject()
java.util.Optional<java.lang.Throwable> getException()
java.util.Optional<java.lang.String> getMessage()