Class Transaction.TransactionEvent.NetworkInfo.Builder
-
- All Implemented Interfaces:
public final class Transaction.TransactionEvent.NetworkInfo.BuilderA builder for NetworkInfo.
-
-
Method Summary
-
-
Method Detail
-
acquirer
final Transaction.TransactionEvent.NetworkInfo.Builder acquirer(Transaction.TransactionEvent.NetworkInfo.Acquirer acquirer)
-
acquirer
final Transaction.TransactionEvent.NetworkInfo.Builder acquirer(Optional<Transaction.TransactionEvent.NetworkInfo.Acquirer> acquirer)
Alias for calling Builder.acquirer with
acquirer.orElse(null).
-
acquirer
final Transaction.TransactionEvent.NetworkInfo.Builder acquirer(JsonField<Transaction.TransactionEvent.NetworkInfo.Acquirer> acquirer)
Sets Builder.acquirer to an arbitrary JSON value.
You should usually call Builder.acquirer with a well-typed Acquirer value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
amex
final Transaction.TransactionEvent.NetworkInfo.Builder amex(Transaction.TransactionEvent.NetworkInfo.Amex amex)
-
amex
final Transaction.TransactionEvent.NetworkInfo.Builder amex(Optional<Transaction.TransactionEvent.NetworkInfo.Amex> amex)
Alias for calling Builder.amex with
amex.orElse(null).
-
amex
final Transaction.TransactionEvent.NetworkInfo.Builder amex(JsonField<Transaction.TransactionEvent.NetworkInfo.Amex> amex)
Sets Builder.amex to an arbitrary JSON value.
You should usually call Builder.amex with a well-typed Amex value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mastercard
final Transaction.TransactionEvent.NetworkInfo.Builder mastercard(Transaction.TransactionEvent.NetworkInfo.Mastercard mastercard)
-
mastercard
final Transaction.TransactionEvent.NetworkInfo.Builder mastercard(Optional<Transaction.TransactionEvent.NetworkInfo.Mastercard> mastercard)
Alias for calling Builder.mastercard with
mastercard.orElse(null).
-
mastercard
final Transaction.TransactionEvent.NetworkInfo.Builder mastercard(JsonField<Transaction.TransactionEvent.NetworkInfo.Mastercard> mastercard)
Sets Builder.mastercard to an arbitrary JSON value.
You should usually call Builder.mastercard with a well-typed Mastercard value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
visa
final Transaction.TransactionEvent.NetworkInfo.Builder visa(Transaction.TransactionEvent.NetworkInfo.Visa visa)
-
visa
final Transaction.TransactionEvent.NetworkInfo.Builder visa(Optional<Transaction.TransactionEvent.NetworkInfo.Visa> visa)
Alias for calling Builder.visa with
visa.orElse(null).
-
visa
final Transaction.TransactionEvent.NetworkInfo.Builder visa(JsonField<Transaction.TransactionEvent.NetworkInfo.Visa> visa)
Sets Builder.visa to an arbitrary JSON value.
You should usually call Builder.visa with a well-typed Visa value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Transaction.TransactionEvent.NetworkInfo.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Transaction.TransactionEvent.NetworkInfo.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Transaction.TransactionEvent.NetworkInfo.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Transaction.TransactionEvent.NetworkInfo.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Transaction.TransactionEvent.NetworkInfo.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Transaction.TransactionEvent.NetworkInfo build()
Returns an immutable instance of NetworkInfo.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.acquirer() .amex() .mastercard() .visa()
-
-
-
-