Sha256: 908728d2b55d26fc9405ad4b8db45cd3e70b22b0d5190972afa751d655531720

Contents?: true

Size: 934 Bytes

Versions: 32

Compression:

Stored size: 934 Bytes

Contents

module GoTransverseTractApi

  module BillingAccount

    class StandardInvoiceAdjustmentApplication < AdjustmentApplication

      class << self

        #
        # @param {Long} invoice_eid
        # @param {Hash} options
        #
        def find_by_invoice_eid invoice_eid, options={}
          return nil unless invoice_eid.present?

          params ||= GoTransverseTractApi::ApiData.new.get_query_params({invoice_eid: invoice_eid}, options)
          GoTransverseTractApi.get_response_for(self, params)
        end

        #
        # @param {Long} invoice_num
        # @param {Hash} options
        #
        def find_by_invoice_num invoice_num, options={}
          return nil unless invoice_num.present?

          params ||= GoTransverseTractApi::ApiData.new.get_query_params({invoice_num: invoice_num}, options)
          GoTransverseTractApi.get_response_for(self, params)
        end

      end

    end

  end

end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.14.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.13.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.12.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.11.2 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.11.1 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.11.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.10.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.9.2 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.9.1 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.9.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.8.1 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.8.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb