Sha256: 280c19c5c0bb161af769ea6b33c93f3710c9b7da5d52543007ce11bb0b4c281e

Contents?: true

Size: 1.81 KB

Versions: 26

Compression:

Stored size: 1.81 KB

Contents

module GoTransverseTractApi

  module Order

    class Agreement

      class << self
        def find_all
          GoTransverseTractApi.get_response_for(self)
        end

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

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

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

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

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

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

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

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

      end
    end

  end

end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.2.5 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.2.4 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.2.3 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.2.2 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.2.1 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.2.0 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.1.12 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.1.11 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.1.10 lib/gotransverse-tract-api/order/agreement.rb
gotransverse-tract-api-0.1.9 lib/gotransverse-tract-api/order/agreement.rb