How is the \Magento\Sales\Model\Order::STATE_PENDING_PAYMENT constant used?

See also: