Package com.meawallet.mtp
Class MeaRemoteTransactionOutcome
- java.lang.Object
-
- com.meawallet.mtp.MeaRemoteTransactionOutcome
-
public class MeaRemoteTransactionOutcome extends java.lang.Object
Represents the outcome of a remote (DSRP) transaction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MeaRemoteTransactionOutcome.ExpiryDate
Represents the Expiry Date of a card, which consists of expiry day, month, and year.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteCryptogramType
getCryptogramType()
Retrieves the Cryptogram Type.MeaRemoteTransactionOutcome.ExpiryDate
getExpiryDate()
Retrieves the Expiry Date of the card.java.lang.String
getPan()
Retrieves the PAN number.int
getPanSequenceNumber()
Retrieves the PAN sequence number.java.lang.String
getPar()
Retrieves the Payment Account Reference number.java.lang.String
getTrack2Data()
Retrieves the Track 2 Datajava.lang.String
getTransactionCryptogramData()
Retrieves the transaction cryptogram data.java.lang.String
getTransactionId()
Retrieves the transaction ID.java.lang.String
toJsonString()
Serialize the DSRP transaction data to JSON string.java.lang.String
toString()
-
-
-
Method Detail
-
getTransactionCryptogramData
public java.lang.String getTransactionCryptogramData()
Retrieves the transaction cryptogram data.- Returns:
- Transaction cryptogram data as string.
-
getPan
public java.lang.String getPan()
Retrieves the PAN number.- Returns:
- PAN number as string.
-
getPanSequenceNumber
public int getPanSequenceNumber()
Retrieves the PAN sequence number.- Returns:
- PAN sequence number as string.
-
getCryptogramType
public RemoteCryptogramType getCryptogramType()
Retrieves the Cryptogram Type.- Returns:
- Cryptogram type.
-
getTrack2Data
public java.lang.String getTrack2Data()
Retrieves the Track 2 Data- Returns:
- Track 2 Data as string.
-
getPar
public java.lang.String getPar()
Retrieves the Payment Account Reference number.- Returns:
- PAR as string.
-
getExpiryDate
public MeaRemoteTransactionOutcome.ExpiryDate getExpiryDate()
Retrieves the Expiry Date of the card.- Returns:
- Expiry date.
-
getTransactionId
public java.lang.String getTransactionId()
Retrieves the transaction ID.- Returns:
- Transaction ID as string.
-
toJsonString
public java.lang.String toJsonString()
Serialize the DSRP transaction data to JSON string.- Returns:
- Serialized DSRP transaction data as string.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-