Sha256: c74f06f6eb527fc161a70edcf66347dbd5b11cef5de262e2593cc61f406b2acc

Contents?: true

Size: 405 Bytes

Versions: 20

Compression:

Stored size: 405 Bytes

Contents

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

20 entries across 20 versions & 1 rubygems

Version Path
stripe-3.14.0 lib/stripe/recipient.rb
stripe-3.13.1 lib/stripe/recipient.rb
stripe-3.13.0 lib/stripe/recipient.rb
stripe-3.12.1 lib/stripe/recipient.rb
stripe-3.12.0 lib/stripe/recipient.rb
stripe-3.11.0 lib/stripe/recipient.rb
stripe-3.10.0 lib/stripe/recipient.rb
stripe-3.9.2 lib/stripe/recipient.rb
stripe-3.9.1 lib/stripe/recipient.rb
stripe-3.9.0 lib/stripe/recipient.rb
stripe-3.8.2 lib/stripe/recipient.rb
stripe-3.8.1 lib/stripe/recipient.rb
stripe-3.8.0 lib/stripe/recipient.rb
stripe-3.7.0 lib/stripe/recipient.rb
stripe-3.6.0 lib/stripe/recipient.rb
stripe-3.5.3 lib/stripe/recipient.rb
stripe-3.5.2 lib/stripe/recipient.rb
stripe-3.5.1 lib/stripe/recipient.rb
stripe-3.5.0 lib/stripe/recipient.rb
stripe-3.4.1 lib/stripe/recipient.rb