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.24.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.23.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.22.1 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.22.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.21.1 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.21.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.20.3 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.20.2 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.20.1 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.20.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.19.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.18.3 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.18.2 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.18.1 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.18.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.17.2 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.17.1 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.17.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.16.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb
gotransverse-tract-api-0.15.0 lib/gotransverse-tract-api/billing_account/standard_invoice_adjustment_application.rb