Sha256: b9c9b54ec741ad95a6607aedf908933be921bdc876a0bf389bc7544f4a418908

Contents?: true

Size: 1.39 KB

Versions: 24

Compression:

Stored size: 1.39 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

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

    end

  end

end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.1.10 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.1.9 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.1.8 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.1.7 lib/gotransverse-tract-api/product/product_price.rb