Class: Stripe::Checkout::SessionUpdateParams::CollectedInformation::ShippingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::SessionUpdateParams::CollectedInformation::ShippingDetails
- Defined in:
- lib/stripe/params/checkout/session_update_params.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Object
The address of the customer.
-
#name ⇒ Object
The name of customer.
Instance Method Summary collapse
-
#initialize(address: nil, name: nil) ⇒ ShippingDetails
constructor
A new instance of ShippingDetails.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(address: nil, name: nil) ⇒ ShippingDetails
Returns a new instance of ShippingDetails.
64 65 66 67 |
# File 'lib/stripe/params/checkout/session_update_params.rb', line 64 def initialize(address: nil, name: nil) @address = address @name = name end |
Instance Attribute Details
#address ⇒ Object
The address of the customer
60 61 62 |
# File 'lib/stripe/params/checkout/session_update_params.rb', line 60 def address @address end |
#name ⇒ Object
The name of customer
62 63 64 |
# File 'lib/stripe/params/checkout/session_update_params.rb', line 62 def name @name end |