Sha256: be39a81e3bfa36d98e3063b4e1702b23d5b1d37a0759fb4910cb78d9bcdd26ed
Contents?: true
Size: 593 Bytes
Versions: 40
Compression:
Stored size: 593 Bytes
Contents
module Stripe class ApplicationFee < APIResource extend Stripe::APIOperations::List def self.resource_url '/v1/application_fees' end # 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. def refund(params={}, opts={}) self.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 self.refresh end end end
Version data entries
40 entries across 40 versions & 1 rubygems