lib/stripe/resources/treasury/transaction_entry.rb in stripe-10.8.0.pre.beta.1 vs lib/stripe/resources/treasury/transaction_entry.rb in stripe-10.8.0

- old
+ new

@@ -10,8 +10,18 @@ OBJECT_NAME = "treasury.transaction_entry" def self.resource_url "/v1/treasury/transaction_entries" end + + # Retrieves a list of TransactionEntry objects. + def self.list(filters = {}, opts = {}) + request_stripe_object( + method: :get, + path: "/v1/treasury/transaction_entries", + params: filters, + opts: opts + ) + end end end end