Sha256: 142bd61cc4f6d964872edf3a66f5aa435244d749f799b1c598e0bb8c611ef621

Contents?: true

Size: 994 Bytes

Versions: 3

Compression:

Stored size: 994 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module Issuing
    class FraudLiabilityDebitService < StripeService
      # Returns a list of Issuing FraudLiabilityDebit objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
      def list(params = {}, opts = {})
        request(
          method: :get,
          path: "/v1/issuing/fraud_liability_debits",
          params: params,
          opts: opts,
          base_address: :api
        )
      end

      # Retrieves an Issuing FraudLiabilityDebit object.
      def retrieve(fraud_liability_debit, params = {}, opts = {})
        request(
          method: :get,
          path: format("/v1/issuing/fraud_liability_debits/%<fraud_liability_debit>s", { fraud_liability_debit: CGI.escape(fraud_liability_debit) }),
          params: params,
          opts: opts,
          base_address: :api
        )
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stripe-13.3.0.pre.beta.1 lib/stripe/services/issuing/fraud_liability_debit_service.rb
stripe-13.2.0.pre.beta.3 lib/stripe/services/issuing/fraud_liability_debit_service.rb
stripe-13.2.0.pre.beta.2 lib/stripe/services/issuing/fraud_liability_debit_service.rb