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.
2471 2472 2473 2474 |
# File 'lib/stripe/services/checkout/session_service.rb', line 2471 def initialize(address: nil, name: nil) @address = address @name = name end |
Instance Attribute Details
#address ⇒ Object
The address of the customer
2467 2468 2469 |
# File 'lib/stripe/services/checkout/session_service.rb', line 2467 def address @address end |
#name ⇒ Object
The name of customer
2469 2470 2471 |
# File 'lib/stripe/services/checkout/session_service.rb', line 2469 def name @name end |