Package com.flagright.api.types
Class Amount
- java.lang.Object
-
- com.flagright.api.types.Amount
-
public final class Amount extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAmount._FinalStagestatic interfaceAmount.AmountCurrencyStagestatic interfaceAmount.AmountValueStagestatic classAmount.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Amount.AmountValueStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()CurrencyCodegetAmountCurrency()doublegetAmountValue()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getAmountValue
public double getAmountValue()
- Returns:
- Numerical value of the transaction
-
getAmountCurrency
public CurrencyCode getAmountCurrency()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static Amount.AmountValueStage builder()
-
-