Class: Stripe::DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::SelectedFulfillmentOption

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

Defined Under Namespace

Classes: Shipping

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(shipping: nil, type: nil) ⇒ SelectedFulfillmentOption

Returns a new instance of SelectedFulfillmentOption.



53
54
55
56
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 53

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

Instance Attribute Details

#shippingObject

The shipping fulfillment option.



49
50
51
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 49

def shipping
  @shipping
end

#typeObject

The type of fulfillment option.



51
52
53
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 51

def type
  @type
end