Sha256: 97d1cf1ea23329745fc97b7f59a31db2c34af9ed1cd232549d26375bad50d3b4

Contents?: true

Size: 1.19 KB

Versions: 10

Compression:

Stored size: 1.19 KB

Contents

module GoTransverseTractApi

  module Product

    class ProductPrice

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

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

      #
      # @param {DateTime} from_date
      #
      def self.find_from_date from_date
        GoTransverseTractApi.get_response_for(self, {from_date: from_date})
      end

      #
      # @param {DateTime} thru_date
      #
      def self.find_thru_date thru_date
        GoTransverseTractApi.get_response_for(self, {thru_date: thru_date})
      end

      #
      # @param {Long} price_list_eid
      #
      def self.find_by_price_list_eid price_list_eid
        GoTransverseTractApi.get_response_for(self, {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, {price_list_is_master: price_list_is_master})
      end

    end

  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.1.6 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.1.5 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.1.4 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.1.3 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.1.2 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.1.1 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.1.0 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.0.15 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.0.14 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.0.13 lib/gotransverse-tract-api/product/product_price.rb