displayName = $this->l('Order from API'); $this->validateOrderAmount = false; $this->payment_type = OrderPayment::PAYMENT_TYPE_ONLINE; $this->idBookingSource = Source::getIdByCode('API_ORDER'); } }