Package com.lithic.api.models
Class Transaction.TransactionEvent.TransactionEventAmounts.Merchant.Builder
-
- All Implemented Interfaces:
public final class Transaction.TransactionEvent.TransactionEventAmounts.Merchant.BuilderA builder for Merchant.
-
-
Method Summary
-
-
Method Detail
-
amount
final Transaction.TransactionEvent.TransactionEventAmounts.Merchant.Builder amount(Long amount)
Amount of the event in the merchant currency.
-
amount
final Transaction.TransactionEvent.TransactionEventAmounts.Merchant.Builder amount(JsonField<Long> amount)
Sets Builder.amount to an arbitrary JSON value.
You should usually call Builder.amount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
currency
final Transaction.TransactionEvent.TransactionEventAmounts.Merchant.Builder currency(String currency)
3-character alphabetic ISO 4217 currency
-
currency
final Transaction.TransactionEvent.TransactionEventAmounts.Merchant.Builder currency(JsonField<String> currency)
Sets Builder.currency to an arbitrary JSON value.
You should usually call Builder.currency with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Transaction.TransactionEvent.TransactionEventAmounts.Merchant.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Transaction.TransactionEvent.TransactionEventAmounts.Merchant.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Transaction.TransactionEvent.TransactionEventAmounts.Merchant.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Transaction.TransactionEvent.TransactionEventAmounts.Merchant.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Transaction.TransactionEvent.TransactionEventAmounts.Merchant.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Transaction.TransactionEvent.TransactionEventAmounts.Merchant build()
Returns an immutable instance of Merchant.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.amount() .currency()
-
-
-
-