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.
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 118 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.
106 107 108 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 106 def address @address end |
#email ⇒ Object
The customer’s email address.
108 109 110 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 108 def email @email end |
#name ⇒ Object
The customer’s name.
110 111 112 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 110 def name @name end |
#phone ⇒ Object
The customer’s phone number.
112 113 114 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 112 def phone @phone end |
#selected_fulfillment_option ⇒ Object
The fulfillment option to select.
114 115 116 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 114 def selected_fulfillment_option @selected_fulfillment_option end |
#selected_fulfillment_option_overrides ⇒ Object
The fulfillment option overrides for specific line items.
116 117 118 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 116 def selected_fulfillment_option_overrides @selected_fulfillment_option_overrides end |