Class: Lithic::Models::Merchant
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::Merchant
- Defined in:
- lib/lithic/models/merchant.rb
Instance Attribute Summary collapse
-
#acceptor_id ⇒ String
Unique alphanumeric identifier for the payment card acceptor (merchant).
-
#acquiring_institution_id ⇒ String
Unique numeric identifier of the acquiring institution.
-
#city ⇒ String
City of card acceptor.
-
#country ⇒ String
Country or entity of card acceptor.
-
#descriptor ⇒ String
Short description of card acceptor.
-
#mcc ⇒ String
Merchant category code (MCC).
-
#state ⇒ String
Geographic state of card acceptor.
Instance Method Summary collapse
-
#initialize(acceptor_id:, acquiring_institution_id:, city:, country:, descriptor:, mcc:, state:) ⇒ Object
constructor
Some parameter documentations has been truncated, see Merchant for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(acceptor_id:, acquiring_institution_id:, city:, country:, descriptor:, mcc:, state:) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::Merchant for more details.
|
|
# File 'lib/lithic/models/merchant.rb', line 51
|
Instance Attribute Details
#acceptor_id ⇒ String
Unique alphanumeric identifier for the payment card acceptor (merchant).
10 |
# File 'lib/lithic/models/merchant.rb', line 10 required :acceptor_id, String |
#acquiring_institution_id ⇒ String
Unique numeric identifier of the acquiring institution.
16 |
# File 'lib/lithic/models/merchant.rb', line 16 required :acquiring_institution_id, String |
#city ⇒ String
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.
23 |
# File 'lib/lithic/models/merchant.rb', line 23 required :city, String |
#country ⇒ String
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.
30 |
# File 'lib/lithic/models/merchant.rb', line 30 required :country, String |
#descriptor ⇒ String
Short description of card acceptor.
36 |
# File 'lib/lithic/models/merchant.rb', line 36 required :descriptor, String |
#mcc ⇒ String
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.
43 |
# File 'lib/lithic/models/merchant.rb', line 43 required :mcc, String |
#state ⇒ String
Geographic state of card acceptor.
49 |
# File 'lib/lithic/models/merchant.rb', line 49 required :state, String |