class Stripe::ApplicationFeeRefund

Constants

OBJECT_NAME

Public Class Methods

retrieve(_id, _api_key = nil) click to toggle source
# File lib/stripe/resources/application_fee_refund.rb, line 24
def self.retrieve(_id, _api_key = nil)
  raise NotImplementedError,
        "Application fee refunds cannot be retrieved without an " \
        "application fee ID. Retrieve an application fee refund using " \
        "`ApplicationFee.retrieve_refund('fee_id', 'refund_id')`"
end
update(_id, _params = nil, _opts = nil) click to toggle source
# File lib/stripe/resources/application_fee_refund.rb, line 16
def self.update(_id, _params = nil, _opts = nil)
  raise NotImplementedError,
        "Application fee refunds cannot be updated without an " \
        "application fee ID. Update an application fee refund using " \
        "`ApplicationFee.update_refund('fee_id', 'refund_id', " \
        "update_params)`"
end

Public Instance Methods

resource_url() click to toggle source
# File lib/stripe/resources/application_fee_refund.rb, line 11
def resource_url
  "#{ApplicationFee.resource_url}/#{CGI.escape(fee)}/refunds" \
  "/#{CGI.escape(id)}"
end