Sha256: 3f9ae8cf7c187b8abb3506a9bf53e74586085658c511f57fb5ecf50e31298b1c

Contents?: true

Size: 812 Bytes

Versions: 12

Compression:

Stored size: 812 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})
        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

12 entries across 12 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/billing_account/recurring_payment.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/billing_account/recurring_payment.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/billing_account/recurring_payment.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/billing_account/recurring_payment.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/billing_account/recurring_payment.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/billing_account/recurring_payment.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/billing_account/recurring_payment.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/billing_account/recurring_payment.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/billing_account/recurring_payment.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/billing_account/recurring_payment.rb
gotransverse-tract-api-0.2.5 lib/gotransverse-tract-api/billing_account/recurring_payment.rb
gotransverse-tract-api-0.2.4 lib/gotransverse-tract-api/billing_account/recurring_payment.rb