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.
2445 2446 2447 2448 |
# File 'lib/stripe/services/checkout/session_service.rb', line 2445 def initialize(address: nil, name: nil) @address = address @name = name end |
Instance Attribute Details
#address ⇒ Object
The address of the customer
2441 2442 2443 |
# File 'lib/stripe/services/checkout/session_service.rb', line 2441 def address @address end |
#name ⇒ Object
The name of customer
2443 2444 2445 |
# File 'lib/stripe/services/checkout/session_service.rb', line 2443 def name @name end |