Class: Stripe::InvoiceUpdateParams::ShippingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::InvoiceUpdateParams::ShippingDetails
- Defined in:
- lib/stripe/params/invoice_update_params.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Object
Shipping address.
-
#name ⇒ Object
Recipient name.
-
#phone ⇒ Object
Recipient phone (including extension).
Instance Method Summary collapse
-
#initialize(address: nil, name: nil, phone: nil) ⇒ ShippingDetails
constructor
A new instance of ShippingDetails.
Methods inherited from RequestParams
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
#address ⇒ Object
Shipping address
420 421 422 |
# File 'lib/stripe/params/invoice_update_params.rb', line 420 def address @address end |
#name ⇒ Object
Recipient name.
422 423 424 |
# File 'lib/stripe/params/invoice_update_params.rb', line 422 def name @name end |
#phone ⇒ Object
Recipient phone (including extension)
424 425 426 |
# File 'lib/stripe/params/invoice_update_params.rb', line 424 def phone @phone end |