Sha256: 51a8642f51ac30d567b8ad1b99008d5f3ab73df73c6d0f4ed9a9930559e6ea12

Contents?: true

Size: 557 Bytes

Versions: 32

Compression:

Stored size: 557 Bytes

Contents

module GoTransverseTractApi

  module BillingAccount

    class InvoiceItemCharge < InvoiceItem

      class << self

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

          params ||= GoTransverseTractApi::ApiData.new.get_query_params({invoice_item_eid: invoice_item_eid}, 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/invoice_item_charge.rb
gotransverse-tract-api-0.23.0 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.22.1 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.22.0 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.21.1 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.21.0 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.20.3 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.20.2 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.20.1 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.20.0 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.19.0 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.18.3 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.18.2 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.18.1 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.18.0 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.17.2 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.17.1 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.17.0 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.16.0 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb
gotransverse-tract-api-0.15.0 lib/gotransverse-tract-api/billing_account/invoice_item_charge.rb