mirror of
				https://github.com/stripe/stripe-ruby.git
				synced 2025-11-04 00:01:47 -05:00 
			
		
		
		
	* Update dynamic constant references * Manual additionsg * Fix lint * Use const_Get * Remove puts
		
			
				
	
	
		
			22 lines
		
	
	
		
			718 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			718 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
# File generated from our OpenAPI spec
 | 
						|
# frozen_string_literal: true
 | 
						|
 | 
						|
module Stripe
 | 
						|
  class ApplicationFee < APIResource
 | 
						|
    extend Stripe::APIOperations::List
 | 
						|
    extend Stripe::APIOperations::NestedResource
 | 
						|
 | 
						|
    OBJECT_NAME = "application_fee"
 | 
						|
    def self.object_name
 | 
						|
      "application_fee"
 | 
						|
    end
 | 
						|
 | 
						|
    nested_resource_class_methods :refund, operations: %i[create retrieve update list]
 | 
						|
 | 
						|
    # Returns a list of application fees you've previously collected. The application fees are returned in sorted order, with the most recent fees appearing first.
 | 
						|
    def self.list(filters = {}, opts = {})
 | 
						|
      request_stripe_object(method: :get, path: "/v1/application_fees", params: filters, opts: opts)
 | 
						|
    end
 | 
						|
  end
 | 
						|
end
 |