Class: Stripe::Issuing::AuthorizationCreateParams::MerchantData

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/issuing/authorization_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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.



159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 159

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

#categoryObject

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.



141
142
143
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 141

def category
  @category
end

#cityObject

City where the seller is located



143
144
145
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 143

def city
  @city
end

#countryObject

Country where the seller is located



145
146
147
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 145

def country
  @country
end

#nameObject

Name of the seller



147
148
149
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 147

def name
  @name
end

#network_idObject

Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant.



149
150
151
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 149

def network_id
  @network_id
end

#postal_codeObject

Postal code where the seller is located



151
152
153
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 151

def postal_code
  @postal_code
end

#stateObject

State where the seller is located



153
154
155
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 153

def state
  @state
end

#terminal_idObject

An ID assigned by the seller to the location of the sale.



155
156
157
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 155

def terminal_id
  @terminal_id
end

#urlObject

URL provided by the merchant on a 3DS request



157
158
159
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 157

def url
  @url
end