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, new, #to_h

Constructor Details

#initialize(shipping: nil, type: nil, digital: 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(shipping: nil, type: nil, digital: nil)
  @shipping = shipping
  @type = type
  @digital = digital
end

Instance Attribute Details

#digitalObject

The digital fulfillment option.



62
63
64
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 62

def digital
  @digital
end

#shippingObject

The shipping fulfillment option.



58
59
60
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 58

def shipping
  @shipping
end

#typeObject

The type of fulfillment option.



60
61
62
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 60

def type
  @type
end