Sha256: 09feb2313cbe563b28781cbe6f88ac86aacd20c956e4bb4ca924702166f62df1

Contents?: true

Size: 660 Bytes

Versions: 7

Compression:

Stored size: 660 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module Treasury
    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

7 entries across 7 versions & 1 rubygems

Version Path
stripe-7.1.0 lib/stripe/resources/treasury/received_credit.rb
stripe-7.1.0.pre.beta.2 lib/stripe/resources/treasury/received_credit.rb
stripe-7.1.0.pre.beta.1 lib/stripe/resources/treasury/received_credit.rb
stripe-7.0.0 lib/stripe/resources/treasury/received_credit.rb
stripe-6.6.0.pre.beta.1 lib/stripe/resources/treasury/received_credit.rb
stripe-6.5.0 lib/stripe/resources/treasury/received_credit.rb
stripe-6.4.0 lib/stripe/resources/treasury/received_credit.rb