Public Member Functions | |
BigDecimal | getRunningSubtotal () |
void | setRunningSubtotal (@Nullable BigDecimal runningSubtotal) |
BigDecimal | getRunningTax () |
void | setRunningTax (BigDecimal runningTax) |
BigDecimal | getRunningTotal () |
void | setRunningTotal (BigDecimal runningTotal) |
BigDecimal | getRunningGratuity () |
void | setRunningGratuity (BigDecimal runningGratuity) |
void | addAmounts (BigDecimal subtotal, BigDecimal tax, BigDecimal gratuity, BigDecimal total) |
void | subtractAmounts (BigDecimal subtotal, BigDecimal tax, BigDecimal gratuity, BigDecimal total) |
void | setAmounts (BigDecimal subtotal, BigDecimal tax, BigDecimal gratuity, BigDecimal total) |
boolean | isUnset () |
AmountTotals (final AmountTotals amountTotalsToCopy) | |
AmountTotals (Parcel in, int parcelVersion) | |
void | writeToParcel (Parcel dest, int flags) |
![]() | |
BaseParcel (Parcel in, int parcelVersion) | |
void | setParcelVersion (int targetParcelVersion) |
final int | getParcelVersion () |
String | getClassName () |
void | writeToParcel (Parcel dest, int flags) |
int | describeContents () |
Static Public Member Functions | |
static AmountTotals | getUnsetAmountTotals () |
Static Public Attributes | |
static final Creator< AmountTotals > | CREATOR |
![]() | |
static final Parcelable.Creator< BaseParcel > | CREATOR |
Additional Inherited Members | |
![]() | |
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) |
A container for the various totals, making it easier to update these values at one time.
Definition at line 22 of file AmountTotals.java.
BigDecimal getRunningGratuity | ( | ) |
The gratuity as held by this object.
Definition at line 57 of file AmountTotals.java.
BigDecimal getRunningSubtotal | ( | ) |
The subtotal as held by this object.
Definition at line 30 of file AmountTotals.java.
BigDecimal getRunningTax | ( | ) |
The tax as held by this object.
Definition at line 39 of file AmountTotals.java.
BigDecimal getRunningTotal | ( | ) |
The total as held by this object.
Definition at line 48 of file AmountTotals.java.
|
static |
Definition at line 156 of file AmountTotals.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.