Class Transaction.Merchant
-
- All Implemented Interfaces:
public final class Transaction.Merchant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTransaction.Merchant.BuilderA builder for Merchant.
-
Method Summary
Modifier and Type Method Description final StringacceptorId()Unique alphanumeric identifier for the payment card acceptor (merchant). final StringacquiringInstitutionId()Unique numeric identifier of the acquiring institution. final Stringcity()City of card acceptor. final Stringcountry()Country or entity of card acceptor. final Stringdescriptor()Short description of card acceptor. final Stringmcc()Merchant category code (MCC). final Stringstate()Geographic state of card acceptor. final JsonField<String>_acceptorId()Returns the raw JSON value of acceptorId. final JsonField<String>_acquiringInstitutionId()Returns the raw JSON value of acquiringInstitutionId. final JsonField<String>_city()Returns the raw JSON value of city. final JsonField<String>_country()Returns the raw JSON value of country. final JsonField<String>_descriptor()Returns the raw JSON value of descriptor. final JsonField<String>_mcc()Returns the raw JSON value of mcc. final JsonField<String>_state()Returns the raw JSON value of state. final Map<String, JsonValue>_additionalProperties()final Transaction.Merchant.BuildertoBuilder()final Transaction.Merchantvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Transaction.Merchant.Builderbuilder()Returns a mutable builder for constructing an instance of Merchant. -
-
Method Detail
-
acceptorId
final String acceptorId()
Unique alphanumeric identifier for the payment card acceptor (merchant).
-
acquiringInstitutionId
final String acquiringInstitutionId()
Unique numeric identifier of the acquiring institution.
-
city
final 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.
-
country
final 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.
-
descriptor
final String descriptor()
Short description of card acceptor.
-
mcc
final 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.
-
_acceptorId
final JsonField<String> _acceptorId()
Returns the raw JSON value of acceptorId.
Unlike acceptorId, this method doesn't throw if the JSON field has an unexpected type.
-
_acquiringInstitutionId
final JsonField<String> _acquiringInstitutionId()
Returns the raw JSON value of acquiringInstitutionId.
Unlike acquiringInstitutionId, this method doesn't throw if the JSON field has an unexpected type.
-
_city
final JsonField<String> _city()
Returns the raw JSON value of city.
Unlike city, this method doesn't throw if the JSON field has an unexpected type.
-
_country
final JsonField<String> _country()
Returns the raw JSON value of country.
Unlike country, this method doesn't throw if the JSON field has an unexpected type.
-
_descriptor
final JsonField<String> _descriptor()
Returns the raw JSON value of descriptor.
Unlike descriptor, this method doesn't throw if the JSON field has an unexpected type.
-
_mcc
final JsonField<String> _mcc()
Returns the raw JSON value of mcc.
Unlike mcc, this method doesn't throw if the JSON field has an unexpected type.
-
_state
final JsonField<String> _state()
Returns the raw JSON value of state.
Unlike state, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Transaction.Merchant.Builder toBuilder()
-
validate
final Transaction.Merchant validate()
-
builder
final static Transaction.Merchant.Builder builder()
Returns a mutable builder for constructing an instance of Merchant.
The following fields are required:
.acceptorId() .acquiringInstitutionId() .city() .country() .descriptor() .mcc() .state()
-
-
-
-