Class: Stripe::CreditNote::PreviewParams::ShippingCost
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CreditNote::PreviewParams::ShippingCost
- Defined in:
- lib/stripe/resources/credit_note.rb
Instance Attribute Summary collapse
-
#shipping_rate ⇒ Object
The ID of the shipping rate to use for this order.
Instance Method Summary collapse
-
#initialize(shipping_rate: nil) ⇒ ShippingCost
constructor
A new instance of ShippingCost.
Methods inherited from RequestParams
Constructor Details
#initialize(shipping_rate: nil) ⇒ ShippingCost
Returns a new instance of ShippingCost.
368 369 370 |
# File 'lib/stripe/resources/credit_note.rb', line 368 def initialize(shipping_rate: nil) @shipping_rate = shipping_rate end |
Instance Attribute Details
#shipping_rate ⇒ Object
The ID of the shipping rate to use for this order.
366 367 368 |
# File 'lib/stripe/resources/credit_note.rb', line 366 def shipping_rate @shipping_rate end |