Public Member Functions | |
BigDecimal | getDonationAmount () |
void | setDonationAmount (BigDecimal donationAmount) |
String | getDescription () |
void | setDescription (String description) |
void | merge (BasketItem item, boolean aggressively) |
Donation (Parcel in, int parcelVersion) | |
void | writeToParcel (Parcel dest, int flags) |
JSONObject | buildToCpJson () |
![]() | |
void | setBasketItemId (String basketItemId) |
String | getBasketItemId () |
void | setSequence (int sequence) |
int | getSequence () |
void | setDisplayOrder (int displayOrder) |
int | getDisplayOrder () |
void | setDisplayLine (String displayLine) |
String | getDisplayLine () |
void | setName (String name) |
String | getName () |
void | setDescription (String description) |
String | getDescription () |
void | setSku (String sku) |
String | getSku () |
void | setUpc (String upc) |
String | getUpc () |
void | setAmount (BigDecimal amount) |
BigDecimal | getAmount () |
void | setTax (BigDecimal tax) |
BigDecimal | getTax () |
boolean | getRemoved () |
void | setAmountTotals (AmountTotals amountTotals) |
AmountTotals | getAmountTotals () |
void | merge (BasketItem item, boolean aggressively) |
int | compareTo (BasketItem other) |
String | toString () |
BasketItem (Parcel in, int parcelVersion) | |
void | setParcelVersion (int targetParcelVersion) |
void | writeToParcel (Parcel dest, int flags) |
JSONObject | buildToCpJson () |
![]() | |
CPBaseParcel (Parcel in, int parcelVersion) | |
![]() | |
BaseParcel (Parcel in, int parcelVersion) | |
void | setParcelVersion (int targetParcelVersion) |
final int | getParcelVersion () |
String | getClassName () |
void | writeToParcel (Parcel dest, int flags) |
int | describeContents () |
Static Public Attributes | |
static final Creator< Donation > | CREATOR |
![]() | |
static final int | UNSET_VALUE = -1 |
![]() | |
static final Parcelable.Creator< BaseParcel > | CREATOR |
Additional Inherited Members | |
![]() | |
static< CPEntityType extends CPBaseParcel > CPEntityType | buildFromCpJson ( @NonNull JSONObject jsonObject, @NonNull Class< CPEntityType > clazz, @Nullable CPEntityType parentObject) |
![]() | |
void | setRemoved (boolean wasRemoved) |
![]() | |
abstract< CPEntityType extends CPBaseParcel > CPEntityType | buildFromCpJson ( @NonNull JSONObject jsonObject, @Nullable CPEntityType parentObject) |
![]() | |
static< CPEntityType extends CPBaseParcel > ArrayList< CPEntityType > | buildListFromCpJson ( @NonNull JSONObject jsonObject, @NonNull Class< CPEntityType > clazz, @NonNull String targetJsonAlias) |
![]() | |
static void | safelySetParcelVersion (final int targetParcelVersion, @Nullable BaseParcel item) |
static void | safelySetParcelVersion (final int targetParcelVersion, @Nullable List<? extends BaseParcel > items) |
static< T extends BaseParcel > void | safelySetParcelVersion (final int targetParcelVersion, @Nullable T[] items) |
This represents the data that is shared between the terminal and the Android application. Setting the fields is only relevant when sending the data to the terminal, and conversely, getting the fields is only relevant when receiving this object from the terminal.
Definition at line 32 of file Donation.java.
String getDescription | ( | ) |
Donation details. Usually the recipient of the donation, eg., American Redcross
Definition at line 55 of file Donation.java.
BigDecimal getDonationAmount | ( | ) |
Use BasketItem#getAmount() instead. The amount of the donation in the current transaction's currency as a GAAP-standard BigDecimal.
Definition at line 40 of file Donation.java.
void setDescription | ( | String | description | ) |
Please refer to getDescription().
Definition at line 62 of file Donation.java.
void setDonationAmount | ( | BigDecimal | donationAmount | ) |
Use BasketItem#setAmount(BigDecimal) instead.
Definition at line 48 of file Donation.java.
|
static |
Definition at line 101 of file Donation.java.
This document is the confidential property of Verifone, Inc. Any reproduction or distribution of this document, in whole or in part, or the disclosure of any of the information contained herein, without the prior written consent of Verifone, Inc. is prohibited. This document and any supplemental material supplied as part of any review must be returned to Verifone, Inc. upon request. Notice: This document may go through material revisions over time. While the Company will make every effort to keep readers updated as changes occur, care must be taken by the reader to make sure they are reading the latest version. Version numbers appear in the title page and revision history page of this document. All rights reserved. Verifone, the Verifone logo are either trademarks or registered trademarks of Verifone in the United States and/or other countries. All other trademarks or brand names are properties of their respective holders.