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: 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, shipping: nil, type: nil) ⇒ SelectedFulfillmentOption

Returns a new instance of SelectedFulfillmentOption.



76
77
78
79
80
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 76

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

Instance Attribute Details

#digitalObject

The digital fulfillment option.



70
71
72
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 70

def digital
  @digital
end

#shippingObject

The shipping fulfillment option.



72
73
74
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 72

def shipping
  @shipping
end

#typeObject

The type of fulfillment option.



74
75
76
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 74

def type
  @type
end