Amount

public final class Amount implements Parcelable

This class serves for sending the extracted amount and currency in cleanup process.

Parameters

value

the number value of the amount.

currency

the amount currency.

Constructors

Link copied to clipboard
public Amount Amount(BigDecimal value, AmountCurrency currency)

Creates an instance of Amount class.

Types

Link copied to clipboard
public class Companion

Functions

Link copied to clipboard
public abstract Integer describeContents()
Link copied to clipboard
public final AmountCurrency getCurrency()
Link copied to clipboard
public final BigDecimal getValue()
Link copied to clipboard
public abstract Unit writeToParcel(Parcel p0, Integer p1)

Properties

Link copied to clipboard
private final AmountCurrency currency
Link copied to clipboard
private final BigDecimal value