Class: Stripe::TestHelpers::Issuing::AuthorizationCreateParams::MerchantData
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Issuing::AuthorizationCreateParams::MerchantData
- Defined in:
- lib/stripe/params/test_helpers/issuing/authorization_create_params.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.
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 160 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.
142 143 144 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 142 def category @category end |
#city ⇒ Object
City where the seller is located
144 145 146 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 144 def city @city end |
#country ⇒ Object
Country where the seller is located
146 147 148 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 146 def country @country end |
#name ⇒ Object
Name of the seller
148 149 150 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 148 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.
150 151 152 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 150 def network_id @network_id end |
#postal_code ⇒ Object
Postal code where the seller is located
152 153 154 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 152 def postal_code @postal_code end |
#state ⇒ Object
State where the seller is located
154 155 156 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 154 def state @state end |
#terminal_id ⇒ Object
An ID assigned by the seller to the location of the sale.
156 157 158 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 156 def terminal_id @terminal_id end |
#url ⇒ Object
URL provided by the merchant on a 3DS request
158 159 160 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 158 def url @url end |