Package com.maxmind.minfraud.request
Class Payment
- java.lang.Object
-
- com.maxmind.minfraud.AbstractModel
-
- com.maxmind.minfraud.request.Payment
-
public final class Payment extends AbstractModel
The payment information for the transaction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Payment.Builder
Builder
creates instances ofPayment
from values set by the builder's methods.static class
Payment.Processor
Enumeration of payment processors
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDeclineCode()
Payment.Processor
getProcessor()
Boolean
wasAuthorized()
-
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
-
-
-
Method Detail
-
getProcessor
public Payment.Processor getProcessor()
- Returns:
- The payment processor.
-
wasAuthorized
public Boolean wasAuthorized()
- Returns:
- The authorization outcome.
-
getDeclineCode
public String getDeclineCode()
- Returns:
- The decline code.
-
-