Sha256: 8f8e58dcff091adbac30ca53f73848e5dd624dc41e10d861725831125515350d
Contents?: true
Size: 584 Bytes
Versions: 1
Compression:
Stored size: 584 Bytes
Contents
module Stripe class ApplicationFee < APIResource extend Stripe::APIOperations::List def self.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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stripe-1.36.1 | lib/stripe/application_fee.rb |