Sha256: 15131cf6df232f34f80c2b209886b0cbbed63b6a89092f68956de691988e7e2f

Contents?: true

Size: 833 Bytes

Versions: 2

Compression:

Stored size: 833 Bytes

Contents

module GoTransverseTractApi

  module BillingAccount

    class RecurringPayment

      class << self

        def self.find_all
          GoTransverseTractApi.get_response_for(self)
        end

        #
        # @param {Long} eid
        #
        def find_by_eid eid
          GoTransverseTractApi.get_response_for(self, {eid: eid})
        end

        #
        # @param {Long} account_num
        #
        def find_by_account_num account_num
          GoTransverseTractApi.get_response_for(self, {account_num: account_num, query_scope: 'DEEP'})
        end

        #
        # @param {Long} billing_account_eid
        #
        def find_by_billing_account_eid billing_account_eid
          GoTransverseTractApi.get_response_for(self, {billing_account_eid: billing_account_eid})
        end

      end

    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.2 lib/gotransverse-tract-api/billing_account/recurring_payment.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/billing_account/recurring_payment.rb