Class: Stripe::CustomerCreateParams::Shipping
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CustomerCreateParams::Shipping
- Defined in:
- lib/stripe/params/customer_create_params.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Object
Customer shipping address.
-
#name ⇒ Object
Customer name.
-
#phone ⇒ Object
Customer phone (including extension).
Instance Method Summary collapse
-
#initialize(address: nil, name: nil, phone: nil) ⇒ Shipping
constructor
A new instance of Shipping.
Methods inherited from RequestParams
Constructor Details
#initialize(address: nil, name: nil, phone: nil) ⇒ Shipping
Returns a new instance of Shipping.
132 133 134 135 136 |
# File 'lib/stripe/params/customer_create_params.rb', line 132 def initialize(address: nil, name: nil, phone: nil) @address = address @name = name @phone = phone end |
Instance Attribute Details
#address ⇒ Object
Customer shipping address.
126 127 128 |
# File 'lib/stripe/params/customer_create_params.rb', line 126 def address @address end |
#name ⇒ Object
Customer name.
128 129 130 |
# File 'lib/stripe/params/customer_create_params.rb', line 128 def name @name end |
#phone ⇒ Object
Customer phone (including extension).
130 131 132 |
# File 'lib/stripe/params/customer_create_params.rb', line 130 def phone @phone end |