Class: Stripe::PaymentLinkCreateParams::ShippingOption

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

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(shipping_rate: nil) ⇒ ShippingOption

Returns a new instance of ShippingOption.



598
599
600
# File 'lib/stripe/params/payment_link_create_params.rb', line 598

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.



596
597
598
# File 'lib/stripe/params/payment_link_create_params.rb', line 596

def shipping_rate
  @shipping_rate
end