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, SelectedFulfillmentOptionOverride
Instance Attribute Summary collapse
-
#address ⇒ Object
The customer’s 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.
-
#selected_fulfillment_option_overrides ⇒ Object
The fulfillment option overrides for specific line items.
Instance Method Summary collapse
-
#initialize(address: nil, email: nil, name: nil, phone: nil, selected_fulfillment_option: nil, selected_fulfillment_option_overrides: nil) ⇒ FulfillmentDetails
constructor
A new instance of FulfillmentDetails.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(address: nil, email: nil, name: nil, phone: nil, selected_fulfillment_option: nil, selected_fulfillment_option_overrides: nil) ⇒ FulfillmentDetails
Returns a new instance of FulfillmentDetails.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 130 def initialize( address: nil, email: nil, name: nil, phone: nil, selected_fulfillment_option: nil, selected_fulfillment_option_overrides: nil ) @address = address @email = email @name = name @phone = phone @selected_fulfillment_option = selected_fulfillment_option @selected_fulfillment_option_overrides = selected_fulfillment_option_overrides end |
Instance Attribute Details
#address ⇒ Object
The customer’s address.
118 119 120 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 118 def address @address end |
#email ⇒ Object
The customer’s email address.
120 121 122 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 120 def email @email end |
#name ⇒ Object
The customer’s name.
122 123 124 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 122 def name @name end |
#phone ⇒ Object
The customer’s phone number.
124 125 126 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 124 def phone @phone end |
#selected_fulfillment_option ⇒ Object
The fulfillment option to select.
126 127 128 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 126 def selected_fulfillment_option @selected_fulfillment_option end |
#selected_fulfillment_option_overrides ⇒ Object
The fulfillment option overrides for specific line items.
128 129 130 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 128 def selected_fulfillment_option_overrides @selected_fulfillment_option_overrides end |