Class: Stripe::Checkout::SessionService::UpdateParams::CollectedInformation::ShippingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::SessionService::UpdateParams::CollectedInformation::ShippingDetails
- Defined in:
- lib/stripe/services/checkout/session_service.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
Constructor Details
#initialize(address: nil, name: nil) ⇒ ShippingDetails
Returns a new instance of ShippingDetails.
2393 2394 2395 2396 |
# File 'lib/stripe/services/checkout/session_service.rb', line 2393 def initialize(address: nil, name: nil) @address = address @name = name end |
Instance Attribute Details
#address ⇒ Object
The address of the customer
2389 2390 2391 |
# File 'lib/stripe/services/checkout/session_service.rb', line 2389 def address @address end |
#name ⇒ Object
The name of customer
2391 2392 2393 |
# File 'lib/stripe/services/checkout/session_service.rb', line 2391 def name @name end |