Class: Stripe::PaymentLink::CreateParams::ShippingOption

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_link.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(shipping_rate: nil) ⇒ ShippingOption

Returns a new instance of ShippingOption.



1173
1174
1175
# File 'lib/stripe/resources/payment_link.rb', line 1173

def initialize(shipping_rate: nil)
  @shipping_rate = shipping_rate
end

Instance Attribute Details

#shipping_rateObject

The ID of the Shipping Rate to use for this shipping option.



1171
1172
1173
# File 'lib/stripe/resources/payment_link.rb', line 1171

def shipping_rate
  @shipping_rate
end