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.
2352 2353 2354 2355 |
# File 'lib/stripe/services/checkout/session_service.rb', line 2352 def initialize(address: nil, name: nil) @address = address @name = name end |
Instance Attribute Details
#address ⇒ Object
The address of the customer
2348 2349 2350 |
# File 'lib/stripe/services/checkout/session_service.rb', line 2348 def address @address end |
#name ⇒ Object
The name of customer
2350 2351 2352 |
# File 'lib/stripe/services/checkout/session_service.rb', line 2350 def name @name end |