Sha256: 6527d42f3e5515d231a9499de9c6bc4432320e17f4fae3e4dab8d987aff0cd2a

Contents?: true

Size: 952 Bytes

Versions: 9

Compression:

Stored size: 952 Bytes

Contents

module Unit
  class AchCounterparty < APIResource
    path '/counterparties'

    attribute :idempotency_key, Types::String # Optional
    attribute :tags, Types::Hash # Optional

    attribute :name, Types::String # Name of the account holder
    attribute :created_at, Types::DateTime
    attribute :routing_number, Types::String # Routing number of account.
    attribute :account_number, Types::String # Account number, together with the routingNumber forms the identifier of the account on the ACH network.
    attribute :account_type, Types::String # Account type, either Checking, Savings or Loan. Default is Checking.
    attribute :type, Types::String # Type of the counterparty, either Business, Person or Unknown.

    belongs_to :customer, class_name: 'Unit::IndividualCustomer'

    include ResourceOperations::List
    include ResourceOperations::Create
    include ResourceOperations::Save
    include ResourceOperations::Find
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
unit-ruby-0.12.0 lib/unit-ruby/ach_counterparty.rb
unit-ruby-0.11.0 lib/unit-ruby/ach_counterparty.rb
unit-ruby-0.10.1 lib/unit-ruby/ach_counterparty.rb
unit-ruby-0.10.0 lib/unit-ruby/ach_counterparty.rb
unit-ruby-0.9.0 lib/unit-ruby/ach_counterparty.rb
unit-ruby-0.8.1 lib/unit-ruby/ach_counterparty.rb
unit-ruby-0.8.0 lib/unit-ruby/ach_counterparty.rb
unit-ruby-0.7.0 lib/unit-ruby/ach_counterparty.rb
unit-ruby-0.6.0 lib/unit-ruby/ach_counterparty.rb