Class Transaction.Merchant.Builder
-
- All Implemented Interfaces:
public final class Transaction.Merchant.BuilderA builder for Merchant.
-
-
Method Summary
-
-
Method Detail
-
acceptorId
final Transaction.Merchant.Builder acceptorId(String acceptorId)
Unique alphanumeric identifier for the payment card acceptor (merchant).
-
acceptorId
final Transaction.Merchant.Builder acceptorId(JsonField<String> acceptorId)
Sets Builder.acceptorId to an arbitrary JSON value.
You should usually call Builder.acceptorId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
acquiringInstitutionId
final Transaction.Merchant.Builder acquiringInstitutionId(String acquiringInstitutionId)
Unique numeric identifier of the acquiring institution.
-
acquiringInstitutionId
final Transaction.Merchant.Builder acquiringInstitutionId(JsonField<String> acquiringInstitutionId)
Sets Builder.acquiringInstitutionId to an arbitrary JSON value.
You should usually call Builder.acquiringInstitutionId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
city
final Transaction.Merchant.Builder city(String city)
City of card acceptor. Note that in many cases, particularly in card-not-present transactions, merchants may send through a phone number or URL in this field.
-
city
final Transaction.Merchant.Builder city(JsonField<String> city)
Sets Builder.city to an arbitrary JSON value.
You should usually call Builder.city with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
country
final Transaction.Merchant.Builder country(String country)
Country or entity of card acceptor. Possible values are: (1) all ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for Netherlands Antilles.
-
country
final Transaction.Merchant.Builder country(JsonField<String> country)
Sets Builder.country to an arbitrary JSON value.
You should usually call Builder.country with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
descriptor
final Transaction.Merchant.Builder descriptor(String descriptor)
Short description of card acceptor.
-
descriptor
final Transaction.Merchant.Builder descriptor(JsonField<String> descriptor)
Sets Builder.descriptor to an arbitrary JSON value.
You should usually call Builder.descriptor with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mcc
final Transaction.Merchant.Builder mcc(String mcc)
Merchant category code (MCC). A four-digit number listed in ISO 18245. An MCC is used to classify a business by the types of goods or services it provides.
-
mcc
final Transaction.Merchant.Builder mcc(JsonField<String> mcc)
Sets Builder.mcc to an arbitrary JSON value.
You should usually call Builder.mcc with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
state
final Transaction.Merchant.Builder state(String state)
Geographic state of card acceptor.
-
state
final Transaction.Merchant.Builder state(JsonField<String> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state 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.Merchant.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Transaction.Merchant.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Transaction.Merchant.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Transaction.Merchant.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Transaction.Merchant.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Transaction.Merchant build()
Returns an immutable instance of Merchant.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.acceptorId() .acquiringInstitutionId() .city() .country() .descriptor() .mcc() .state()
-
-
-
-