Sha256: d626b47425f2fe1ca8ac445eb7b1d75585ff6eb7e0c3ba90c17b1ad9bea4db4f

Contents?: true

Size: 1.09 KB

Versions: 7

Compression:

Stored size: 1.09 KB

Contents

module GoTransverseTractApi

  module Product

    class ProductPriceRange

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

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

      #
      # @param {Long} product_price_eid
      #
      def self.find_by_product_price_eid product_price_eid
        GoTransverseTractApi.get_response_for(self.class, {product_price_eid: product_price_eid})
      end

      #
      # @param {Long} price_list_eid
      #
      def self.find_by_price_list_eid price_list_eid
        GoTransverseTractApi.get_response_for(self.class, {price_list_eid: price_list_eid})
      end

      #
      # @param {Boolean} price_list_is_master
      #
      def self.find_by_price_list_is_master price_list_is_master
        GoTransverseTractApi.get_response_for(self.class, {price_list_is_master: price_list_is_master})
      end

    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.0.12 lib/gotransverse-tract-api/product/product_price_range.rb
gotransverse-tract-api-0.0.11 lib/gotransverse-tract-api/product/product_price_range.rb
gotransverse-tract-api-0.0.10 lib/gotransverse-tract-api/product/product_price_range.rb
gotransverse-tract-api-0.0.9 lib/gotransverse-tract-api/product/product_price_range.rb
gotransverse-tract-api-0.0.8 lib/gotransverse-tract-api/product/product_price_range.rb
gotransverse-tract-api-0.0.7 lib/gotransverse-tract-api/product/product_price_range.rb
gotransverse-tract-api-0.0.6 lib/gotransverse-tract-api/product/product_price_range.rb