Sha256: 62c2d8f0a9e109b3ea016709727800a7440fe27cced2dd4253c13ba396c9687a

Contents?: true

Size: 1.21 KB

Versions: 9

Compression:

Stored size: 1.21 KB

Contents

module GoTransverseTractApi

  module Order

    class OrderItem

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

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

      #
      # @param {String} order_num
      #
      def self.find_by_order_num order_num
        GoTransverseTractApi.get_response_for(self, {order_num: order_num})
      end

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

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

      #
      # @param {String} service_identifier
      #
      def self.find_by_service_identifier service_identifier
        GoTransverseTractApi.get_response_for(self, {service_identifier: service_identifier})
      end

    end

  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.1.5 lib/gotransverse-tract-api/order/order_item.rb
gotransverse-tract-api-0.1.4 lib/gotransverse-tract-api/order/order_item.rb
gotransverse-tract-api-0.1.3 lib/gotransverse-tract-api/order/order_item.rb
gotransverse-tract-api-0.1.2 lib/gotransverse-tract-api/order/order_item.rb
gotransverse-tract-api-0.1.1 lib/gotransverse-tract-api/order/order_item.rb
gotransverse-tract-api-0.1.0 lib/gotransverse-tract-api/order/order_item.rb
gotransverse-tract-api-0.0.15 lib/gotransverse-tract-api/order/order_item.rb
gotransverse-tract-api-0.0.14 lib/gotransverse-tract-api/order/order_item.rb
gotransverse-tract-api-0.0.13 lib/gotransverse-tract-api/order/order_item.rb