Class: Stripe::InvoiceUpdateParams::ShippingDetails

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

Defined Under Namespace

Classes: Address

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(address: nil, name: nil, phone: nil) ⇒ ShippingDetails



426
427
428
429
430
# File 'lib/stripe/params/invoice_update_params.rb', line 426

def initialize(address: nil, name: nil, phone: nil)
  @address = address
  @name = name
  @phone = phone
end

Instance Attribute Details

#addressObject

Shipping address



420
421
422
# File 'lib/stripe/params/invoice_update_params.rb', line 420

def address
  @address
end

#nameObject

Recipient name.



422
423
424
# File 'lib/stripe/params/invoice_update_params.rb', line 422

def name
  @name
end

#phoneObject

Recipient phone (including extension)



424
425
426
# File 'lib/stripe/params/invoice_update_params.rb', line 424

def phone
  @phone
end