Class: Stripe::DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails
- Defined in:
- lib/stripe/params/delegated_checkout/requested_session_update_params.rb
Defined Under Namespace
Classes: Address, SelectedFulfillmentOption
Instance Attribute Summary collapse
-
#address ⇒ Object
Attribute for param field address.
-
#email ⇒ Object
The customer’s email address.
-
#name ⇒ Object
The customer’s name.
-
#phone ⇒ Object
The customer’s phone number.
-
#selected_fulfillment_option ⇒ Object
The fulfillment option to select.
Instance Method Summary collapse
-
#initialize(address: nil, email: nil, name: nil, phone: nil, selected_fulfillment_option: nil) ⇒ FulfillmentDetails
constructor
A new instance of FulfillmentDetails.
Methods inherited from RequestParams
Constructor Details
#initialize(address: nil, email: nil, name: nil, phone: nil, selected_fulfillment_option: nil) ⇒ FulfillmentDetails
Returns a new instance of FulfillmentDetails.
69 70 71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 69 def initialize( address: nil, email: nil, name: nil, phone: nil, selected_fulfillment_option: nil ) @address = address @email = email @name = name @phone = phone @selected_fulfillment_option = selected_fulfillment_option end |
Instance Attribute Details
#address ⇒ Object
Attribute for param field address
59 60 61 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 59 def address @address end |
#email ⇒ Object
The customer’s email address.
61 62 63 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 61 def email @email end |
#name ⇒ Object
The customer’s name.
63 64 65 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 63 def name @name end |
#phone ⇒ Object
The customer’s phone number.
65 66 67 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 65 def phone @phone end |
#selected_fulfillment_option ⇒ Object
The fulfillment option to select.
67 68 69 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 67 def selected_fulfillment_option @selected_fulfillment_option end |