AI-generated Key Takeaways
-
TransactionInfo is a Parcelable class representing detailed information about a transaction.
-
It includes a nested Builder class to facilitate the creation of TransactionInfo objects.
-
Key methods include retrieving the currency code, total price, and total price status.
-
The class also provides a static method to obtain a new Builder instance.
Parcelable representing the detailed info about the transaction.
Nested Class Summary
| class | TransactionInfo.Builder | Builder to create a TransactionInfo. |
|
Inherited Constant Summary
Field Summary
| public static final Creator<TransactionInfo> | CREATOR |
Public Method Summary
| String |
getCurrencyCode()
Returns the currency code.
|
| String |
getTotalPrice()
Returns the total price, or
null if not set.
|
| int |
getTotalPriceStatus()
Returns the total price status.
|
| static TransactionInfo.Builder |
newBuilder()
Builder to create a
TransactionInfo.
|
| void |
writeToParcel(Parcel out, int
flags)
|
Inherited Method Summary
Fields
public static final Creator<TransactionInfo> CREATOR
Public Methods
public String getCurrencyCode ()
Returns the currency code.
public String getTotalPrice ()
Returns the total price, or null if not set.
public int getTotalPriceStatus ()
Returns the total price status. See
WalletConstants.TotalPriceStatus for available options.
public static TransactionInfo.Builder newBuilder ()
Builder to create a TransactionInfo.