Sha256: 3bcda4ab8705739cc8097723286a8fde5f8a454f3466944428594527810b3ac3

Contents?: true

Size: 436 Bytes

Versions: 44

Compression:

Stored size: 436 Bytes

Contents

# frozen_string_literal: true

module Stripe
  # Recipients objects are deprecated. Please use Stripe Connect instead.
  class Recipient < APIResource
    extend Stripe::APIOperations::Create
    include Stripe::APIOperations::Delete
    include Stripe::APIOperations::Save
    extend Stripe::APIOperations::List

    OBJECT_NAME = "recipient".freeze

    def transfers
      Transfer.all({ recipient: id }, @api_key)
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
stripe-4.16.0 lib/stripe/recipient.rb
stripe-4.15.0 lib/stripe/recipient.rb
stripe-4.14.0 lib/stripe/recipient.rb
stripe-4.13.0 lib/stripe/recipient.rb
stripe-4.12.0 lib/stripe/recipient.rb
stripe-4.11.0 lib/stripe/recipient.rb
stripe-4.10.0 lib/stripe/recipient.rb
stripe-4.9.1 lib/stripe/recipient.rb
stripe-4.9.0 lib/stripe/recipient.rb
stripe-4.8.1 lib/stripe/recipient.rb
stripe-4.8.0 lib/stripe/recipient.rb
stripe-4.7.1 lib/stripe/recipient.rb
stripe-4.7.0 lib/stripe/recipient.rb
stripe-4.6.0 lib/stripe/recipient.rb
stripe-4.5.0 lib/stripe/recipient.rb
stripe-4.4.1 lib/stripe/recipient.rb
stripe-4.4.0 lib/stripe/recipient.rb
stripe-4.3.0 lib/stripe/recipient.rb
stripe-4.2.0 lib/stripe/recipient.rb
stripe-4.1.0 lib/stripe/recipient.rb