Package com.inttegro.payments
Class Payment
java.lang.Object
com.inttegro.payments.Payment
Payment projection returned inside an order.
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisPaid()Whether the payment completed successfully.booleanWhether the payment has reached a final state.Action details when the payment currently requires action.booleanWhether the payment is waiting for customer or merchant action.
-
Field Details
-
id
-
statementDescriptor
-
paymentMethodTypes
-
paymentMethod
-
billingDetails
-
customer
-
latestAttempt
-
amount
-
nextAction
-
latestError
-
balanceTransaction
-
payoutConfiguration
-
status
-
initiatedAt
-
executedAt
-
dueAt
-
canceledAt
-
expiredAt
-
paidAt
-
paidOffline
-
failedAt
-
-
Constructor Details
-
Payment
public Payment()
-
-
Method Details
-
isPaid
public boolean isPaid()Whether the payment completed successfully. -
requiresAction
public boolean requiresAction()Whether the payment is waiting for customer or merchant action. -
isTerminal
public boolean isTerminal()Whether the payment has reached a final state. -
requiredAction
Action details when the payment currently requires action.
-