Interface OrderMapper


  • public interface OrderMapper
    Order mapper.
    • Method Detail

      • mapToOrderDTO

        OrderDTO mapToOrderDTO​(org.knowm.xchange.dto.trade.LimitOrder source)
      • mapLimitOrderToOrderDTOAmount

        default CurrencyAmountDTO mapLimitOrderToOrderDTOAmount​(org.knowm.xchange.dto.trade.LimitOrder source)
      • mapLimitOrderToOrderDTOCumulativeAmount

        default CurrencyAmountDTO mapLimitOrderToOrderDTOCumulativeAmount​(org.knowm.xchange.dto.trade.LimitOrder source)
      • mapLimitOrderToOrderDTOAveragePrice

        default CurrencyAmountDTO mapLimitOrderToOrderDTOAveragePrice​(org.knowm.xchange.dto.trade.LimitOrder source)
      • mapLimitOrderToOrderDTOLimitPrice

        default CurrencyAmountDTO mapLimitOrderToOrderDTOLimitPrice​(org.knowm.xchange.dto.trade.LimitOrder source)
      • updateOrder

        void updateOrder​(OrderDTO source,
                         Order target)
      • mapToOrderDTO

        OrderDTO mapToOrderDTO​(Order source)
        Map Order to OrderDTO.
        Parameters:
        source - order
        Returns:
        OrderDTO