Sha256: c526efdf88c1ad46074894b7903e68026d84b7a277a6bb2955b4a38990561502

Contents?: true

Size: 874 Bytes

Versions: 59

Compression:

Stored size: 874 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module Treasury
    # ReceivedCredits represent funds sent to a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount.
    class ReceivedCredit < APIResource
      extend Stripe::APIOperations::List

      OBJECT_NAME = "treasury.received_credit"

      def test_helpers
        TestHelpers.new(self)
      end

      class TestHelpers < APIResourceTestHelpers
        RESOURCE_CLASS = ReceivedCredit

        def self.create(params = {}, opts = {})
          request_stripe_object(
            method: :post,
            path: "/v1/test_helpers/treasury/received_credits",
            params: params,
            opts: opts
          )
        end
      end
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
stripe-10.5.0.pre.beta.1 lib/stripe/resources/treasury/received_credit.rb
stripe-10.4.0 lib/stripe/resources/treasury/received_credit.rb
stripe-10.4.0.pre.beta.1 lib/stripe/resources/treasury/received_credit.rb
stripe-10.3.0 lib/stripe/resources/treasury/received_credit.rb
stripe-10.3.0.pre.beta.1 lib/stripe/resources/treasury/received_credit.rb
stripe-10.2.0 lib/stripe/resources/treasury/received_credit.rb
stripe-10.2.0.pre.beta.1 lib/stripe/resources/treasury/received_credit.rb
stripe-10.1.0 lib/stripe/resources/treasury/received_credit.rb
stripe-10.1.0.pre.beta.2 lib/stripe/resources/treasury/received_credit.rb
stripe-10.1.0.pre.beta.1 lib/stripe/resources/treasury/received_credit.rb
stripe-10.0.0 lib/stripe/resources/treasury/received_credit.rb
stripe-9.5.0.pre.beta.2 lib/stripe/resources/treasury/received_credit.rb
stripe-9.5.0.pre.beta.1 lib/stripe/resources/treasury/received_credit.rb
stripe-9.4.0 lib/stripe/resources/treasury/received_credit.rb
stripe-9.4.0.pre.beta.3 lib/stripe/resources/treasury/received_credit.rb
stripe-9.4.0.pre.beta.2 lib/stripe/resources/treasury/received_credit.rb
stripe-9.4.0.pre.beta.1 lib/stripe/resources/treasury/received_credit.rb
stripe-9.3.0 lib/stripe/resources/treasury/received_credit.rb
stripe-9.3.0.pre.beta.1 lib/stripe/resources/treasury/received_credit.rb
stripe-9.2.0 lib/stripe/resources/treasury/received_credit.rb