Class: Stripe::TestHelpers::Issuing::TransactionService::CreateForceCaptureParams::MerchantData
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Issuing::TransactionService::CreateForceCaptureParams::MerchantData
- Defined in:
- lib/stripe/services/test_helpers/issuing/transaction_service.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
A categorization of the seller’s type of business.
-
#city ⇒ Object
City where the seller is located.
-
#country ⇒ Object
Country where the seller is located.
-
#name ⇒ Object
Name of the seller.
-
#network_id ⇒ Object
Identifier assigned to the seller by the card network.
-
#postal_code ⇒ Object
Postal code where the seller is located.
-
#state ⇒ Object
State where the seller is located.
-
#terminal_id ⇒ Object
An ID assigned by the seller to the location of the sale.
-
#url ⇒ Object
URL provided by the merchant on a 3DS request.
Instance Method Summary collapse
-
#initialize(category: nil, city: nil, country: nil, name: nil, network_id: nil, postal_code: nil, state: nil, terminal_id: nil, url: nil) ⇒ MerchantData
constructor
A new instance of MerchantData.
Methods inherited from RequestParams
Constructor Details
#initialize(category: nil, city: nil, country: nil, name: nil, network_id: nil, postal_code: nil, state: nil, terminal_id: nil, url: nil) ⇒ MerchantData
Returns a new instance of MerchantData.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 41 def initialize( category: nil, city: nil, country: nil, name: nil, network_id: nil, postal_code: nil, state: nil, terminal_id: nil, url: nil ) @category = category @city = city @country = country @name = name @network_id = network_id @postal_code = postal_code @state = state @terminal_id = terminal_id @url = url end |
Instance Attribute Details
#category ⇒ Object
A categorization of the seller’s type of business. See our [merchant categories guide](stripe.com/docs/issuing/merchant-categories) for a list of possible values.
23 24 25 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 23 def category @category end |
#city ⇒ Object
City where the seller is located
25 26 27 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 25 def city @city end |
#country ⇒ Object
Country where the seller is located
27 28 29 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 27 def country @country end |
#name ⇒ Object
Name of the seller
29 30 31 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 29 def name @name end |
#network_id ⇒ Object
Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant.
31 32 33 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 31 def network_id @network_id end |
#postal_code ⇒ Object
Postal code where the seller is located
33 34 35 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 33 def postal_code @postal_code end |
#state ⇒ Object
State where the seller is located
35 36 37 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 35 def state @state end |
#terminal_id ⇒ Object
An ID assigned by the seller to the location of the sale.
37 38 39 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 37 def terminal_id @terminal_id end |
#url ⇒ Object
URL provided by the merchant on a 3DS request
39 40 41 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 39 def url @url end |