Class: Stripe::DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::SelectedFulfillmentOption
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::SelectedFulfillmentOption
- Defined in:
- lib/stripe/params/delegated_checkout/requested_session_update_params.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#digital ⇒ Object
The digital fulfillment option.
-
#shipping ⇒ Object
The shipping fulfillment option.
-
#type ⇒ Object
The type of fulfillment option.
Instance Method Summary collapse
-
#initialize(digital: nil, shipping: nil, type: nil) ⇒ SelectedFulfillmentOption
constructor
A new instance of SelectedFulfillmentOption.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(digital: nil, shipping: nil, type: nil) ⇒ SelectedFulfillmentOption
Returns a new instance of SelectedFulfillmentOption.
64 65 66 67 68 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 64 def initialize(digital: nil, shipping: nil, type: nil) @digital = digital @shipping = shipping @type = type end |
Instance Attribute Details
#digital ⇒ Object
The digital fulfillment option.
58 59 60 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 58 def digital @digital end |
#shipping ⇒ Object
The shipping fulfillment option.
60 61 62 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 60 def shipping @shipping end |
#type ⇒ Object
The type of fulfillment option.
62 63 64 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 62 def type @type end |