Class: Stripe::DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::SelectedFulfillmentOptionOverride

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/delegated_checkout/requested_session_update_params.rb

Defined Under Namespace

Classes: Digital, Shipping

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(digital: nil, line_item_keys: nil, shipping: nil, type: nil) ⇒ SelectedFulfillmentOptionOverride

Returns a new instance of SelectedFulfillmentOptionOverride.



110
111
112
113
114
115
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 110

def initialize(digital: nil, line_item_keys: nil, shipping: nil, type: nil)
  @digital = digital
  @line_item_keys = line_item_keys
  @shipping = shipping
  @type = type
end

Instance Attribute Details

#digitalObject

The digital fulfillment option.



102
103
104
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 102

def digital
  @digital
end

#line_item_keysObject

The line item keys that this fulfillment option override applies to.



104
105
106
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 104

def line_item_keys
  @line_item_keys
end

#shippingObject

The shipping fulfillment option.



106
107
108
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 106

def shipping
  @shipping
end

#typeObject

The type of fulfillment option.



108
109
110
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 108

def type
  @type
end