Sha256: 2e675ba15e758419fb45a8430883fc411f06718e3dc6f88cb55c55d67a65eaeb

Contents?: true

Size: 1.23 KB

Versions: 7

Compression:

Stored size: 1.23 KB

Contents

module GoTransverseTractApi

  module Product

    class ProductPrice

      #
      # @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 {DateTime} from_date
      #
      def self.find_from_date from_date
        GoTransverseTractApi.get_response_for(self.class, {from_date: from_date})
      end

      #
      # @param {DateTime} thru_date
      #
      def self.find_thru_date thru_date
        GoTransverseTractApi.get_response_for(self.class, {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.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.rb
gotransverse-tract-api-0.0.11 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.0.10 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.0.9 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.0.8 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.0.7 lib/gotransverse-tract-api/product/product_price.rb
gotransverse-tract-api-0.0.6 lib/gotransverse-tract-api/product/product_price.rb