Package com.lithic.api.models
Class Transaction.TransactionEvent.TransactionEventAmounts.Settlement
-
- All Implemented Interfaces:
public final class Transaction.TransactionEvent.TransactionEventAmounts.Settlement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTransaction.TransactionEvent.TransactionEventAmounts.Settlement.BuilderA builder for Settlement.
-
Method Summary
Modifier and Type Method Description final Longamount()Amount of the event, if it is financial, in the settlement currency. final StringconversionRate()Exchange rate used to convert the merchant amount to the settlement amount. final Stringcurrency()3-character alphabetic ISO 4217 currency final JsonField<Long>_amount()Returns the raw JSON value of amount. final JsonField<String>_conversionRate()Returns the raw JSON value of conversionRate. final JsonField<String>_currency()Returns the raw JSON value of currency. final Map<String, JsonValue>_additionalProperties()final Transaction.TransactionEvent.TransactionEventAmounts.Settlement.BuildertoBuilder()final Transaction.TransactionEvent.TransactionEventAmounts.Settlementvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Transaction.TransactionEvent.TransactionEventAmounts.Settlement.Builderbuilder()Returns a mutable builder for constructing an instance of Settlement. -
-
Method Detail
-
amount
final Long amount()
Amount of the event, if it is financial, in the settlement currency. Non-financial events do not contain this amount because they do not move funds.
-
conversionRate
final String conversionRate()
Exchange rate used to convert the merchant amount to the settlement amount.
-
_amount
final JsonField<Long> _amount()
Returns the raw JSON value of amount.
Unlike amount, this method doesn't throw if the JSON field has an unexpected type.
-
_conversionRate
final JsonField<String> _conversionRate()
Returns the raw JSON value of conversionRate.
Unlike conversionRate, this method doesn't throw if the JSON field has an unexpected type.
-
_currency
final JsonField<String> _currency()
Returns the raw JSON value of currency.
Unlike currency, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final Transaction.TransactionEvent.TransactionEventAmounts.Settlement validate()
-
builder
final static Transaction.TransactionEvent.TransactionEventAmounts.Settlement.Builder builder()
Returns a mutable builder for constructing an instance of Settlement.
The following fields are required:
.amount() .conversionRate() .currency()
-
-
-
-