Class: Stripe::InvoiceUpdateParams::PaymentSettings::PaymentMethodOptions::CheckScan::CheckDepositAddress

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil) ⇒ CheckDepositAddress

Returns a new instance of CheckDepositAddress.



204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
# File 'lib/stripe/params/invoice_update_params.rb', line 204

def initialize(
  city: nil,
  country: nil,
  line1: nil,
  line2: nil,
  postal_code: nil,
  state: nil
)
  @city = city
  @country = country
  @line1 = line1
  @line2 = line2
  @postal_code = postal_code
  @state = state
end

Instance Attribute Details

#cityObject

Attribute for param field city



192
193
194
# File 'lib/stripe/params/invoice_update_params.rb', line 192

def city
  @city
end

#countryObject

Attribute for param field country



194
195
196
# File 'lib/stripe/params/invoice_update_params.rb', line 194

def country
  @country
end

#line1Object

Attribute for param field line1



196
197
198
# File 'lib/stripe/params/invoice_update_params.rb', line 196

def line1
  @line1
end

#line2Object

Attribute for param field line2



198
199
200
# File 'lib/stripe/params/invoice_update_params.rb', line 198

def line2
  @line2
end

#postal_codeObject

Attribute for param field postal_code



200
201
202
# File 'lib/stripe/params/invoice_update_params.rb', line 200

def postal_code
  @postal_code
end

#stateObject

Attribute for param field state



202
203
204
# File 'lib/stripe/params/invoice_update_params.rb', line 202

def state
  @state
end