-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class LineItem implements Parcelable
The
LineItemclass contains information from a line item extraction.
-
-
Field Summary
Fields Modifier and Type Field Description private final BigDecimalgrossPriceprivate final BigDecimaltotalGrossPriceprivate final BigDecimalorigTotalGrossPriceprivate final BigDecimaltotalGrossPriceDiffprivate final Currencycurrencyprivate final StringrawCurrencyprivate final Stringidprivate final Stringdescriptionprivate final Integerquantityprivate final StringrawGrossPrice
-
Method Summary
Modifier and Type Method Description final BigDecimalgetGrossPrice()The unit price. final BigDecimalgetTotalGrossPrice()The total unit price. final BigDecimalgetOrigTotalGrossPrice()The original total unit price. final BigDecimalgetTotalGrossPriceDiff()The difference between original and current total unit price. final CurrencygetCurrency()The parsed currency. final StringgetRawCurrency()The currency as a string in ISO 4217 format. final StringgetId()final StringgetDescription()final IntegergetQuantity()final StringgetRawGrossPrice()StringtoString()Booleanequals(Object other)IntegerhashCode()-
-
Method Detail
-
getGrossPrice
final BigDecimal getGrossPrice()
The unit price.
-
getTotalGrossPrice
final BigDecimal getTotalGrossPrice()
The total unit price. Total unit price = unit price x quantity.
-
getOrigTotalGrossPrice
final BigDecimal getOrigTotalGrossPrice()
The original total unit price.
-
getTotalGrossPriceDiff
final BigDecimal getTotalGrossPriceDiff()
The difference between original and current total unit price.
-
getCurrency
final Currency getCurrency()
The parsed currency.
-
getRawCurrency
final String getRawCurrency()
The currency as a string in ISO 4217 format.
-
getDescription
final String getDescription()
-
getQuantity
final Integer getQuantity()
-
getRawGrossPrice
final String getRawGrossPrice()
-
-
-
-