Class: Stripe::CreditNoteCreateParams::ShippingCost
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CreditNoteCreateParams::ShippingCost
- Defined in:
- lib/stripe/params/credit_note_create_params.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.
79 80 81 |
# File 'lib/stripe/params/credit_note_create_params.rb', line 79 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.
77 78 79 |
# File 'lib/stripe/params/credit_note_create_params.rb', line 77 def shipping_rate @shipping_rate end |