class Stripe::ApplicationFee
Constants
- OBJECT_NAME
Public Instance Methods
refund(params = {}, opts = {})
click to toggle source
If you don't need access to an updated fee object after the refund, it's more performant to just call `fee.refunds.create` directly.
# File lib/stripe/resources/application_fee.rb, line 15 def refund(params = {}, opts = {}) refunds.create(params, opts) # now that a refund has been created, we expect the state of this object # to change as well (i.e. `refunded` will now be `true`) so refresh it # from the server refresh end