Package com.meawallet.mtp
Class MeaTransactionLog
- java.lang.Object
-
- com.meawallet.mtp.MeaTransactionLog
-
public class MeaTransactionLog extends java.lang.Object
Represents the transaction logs, so the app can update its transaction log accordingly.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAmount()
Returns completed in the past transaction amount.java.util.Currency
getCurrency()
Returns completed in the past transaction currency.java.util.Date
getDate()
Returns completed in the past transaction date.java.lang.String
getDisplayableAmountAndCurrency()
Returns completed in the past transaction displayable amount and currency.java.lang.Integer
getErrorCode()
Returns the transaction error code.java.lang.String
getTransactionIdHexString()
Returns completed in the past transaction ID.MeaTransactionLogType
getType()
Returns completed in the past transaction log type.java.lang.String
toString()
-
-
-
Method Detail
-
getDate
public java.util.Date getDate()
Returns completed in the past transaction date.- Returns:
- transaction date as instance of
Date
object.
-
getAmount
public double getAmount()
Returns completed in the past transaction amount.- Returns:
- transaction amount as double.
-
getCurrency
@Nullable public java.util.Currency getCurrency()
Returns completed in the past transaction currency.- Returns:
- transaction currency as instance of
Currency
object.
-
getType
@Nullable public MeaTransactionLogType getType()
Returns completed in the past transaction log type.- Returns:
- Transaction log type as instance of
MeaTransactionLogType
-
getDisplayableAmountAndCurrency
public java.lang.String getDisplayableAmountAndCurrency()
Returns completed in the past transaction displayable amount and currency.- Returns:
- Displayable amount and currency as String.
-
getTransactionIdHexString
@Nullable public java.lang.String getTransactionIdHexString()
Returns completed in the past transaction ID.- Returns:
- Transaction ID as String in HEX format.
-
getErrorCode
@Nullable public java.lang.Integer getErrorCode()
Returns the transaction error code.- Returns:
- Error code of failed transaction if exist else null.
-
toString
@NonNull public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-