Package com.creditcall.chipdnamobile
Class SOAPTransaction
- java.lang.Object
-
- com.creditcall.chipdnamobile.SOAPTransaction
-
- Direct Known Subclasses:
SOAPExtendedTransaction
public class SOAPTransaction extends java.lang.ObjectThis class contains the details of the transaction.- Author:
- Creditcall Ltd
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAmount()Gets the amount of the transaction, in xx.xx format.java.lang.StringgetCardDigits()Gets the first six and the last four digits of the card used for transaction.java.lang.StringgetCurrencyAlpha()Gets the currency alpha code of the transaction, as defined in ISO 4217.intgetCurrencyCode()Gets the currency numeric code of the transaction, as defined in ISO 4217.java.lang.StringgetDateAndTimeLocal()Gets the local date and time of the transaction.java.lang.StringgetDateAndTimeUtc()Gets the UTC date and time of the transaction.java.lang.StringgetGUID()Gets the GUID of the transaction.
-
-
-
Method Detail
-
getGUID
public java.lang.String getGUID()
Gets the GUID of the transaction.- Returns:
- The GUID of the transaction.
-
getDateAndTimeUtc
public java.lang.String getDateAndTimeUtc()
Gets the UTC date and time of the transaction. It is in the "dd/MM/yyyy HH:mm:ss" format.- Returns:
- The UTC date and time of the transaction.
-
getCurrencyAlpha
public java.lang.String getCurrencyAlpha()
Gets the currency alpha code of the transaction, as defined in ISO 4217.- Returns:
- The currency alpha code of the transaction.
-
getCurrencyCode
public int getCurrencyCode()
Gets the currency numeric code of the transaction, as defined in ISO 4217.- Returns:
- The currency numeric code of the transaction.
-
getAmount
public double getAmount()
Gets the amount of the transaction, in xx.xx format. Refund amounts are in the format -xx.xx.- Returns:
- The amount of the transaction.
-
getCardDigits
public java.lang.String getCardDigits()
Gets the first six and the last four digits of the card used for transaction.- Returns:
- The first six and the last four digits of the card.
-
getDateAndTimeLocal
public java.lang.String getDateAndTimeLocal()
Gets the local date and time of the transaction. It is in the "dd/MM/yyyy HH:mm:ss" format.- Returns:
- The local date and time of the transaction.
-
-