Схема
public mixed
orderNew (
$order_id )
Аргументы
Аргумент |
Возможный тип |
Описание |
$order_id |
— |
— |
Описание
Метод пока еще не документирован.
Исходный код
/**
* Once and order has been imported from external marketplace and
* and order_id has been created, this method should be called.
*
*/
// eBay Module
if ($this->config->get('openbay_status') == 1) {
$this->ebay->orderNew($order_id);
}
// Amazon EU Module
if ($this->config->get('amazon_status') == 1) {
$this->amazon->orderNew($order_id);
}
// Amazon US Module
if ($this->config->get('amazonus_status') == 1) {
$this->amazonus->orderNew($order_id);
}
/**
* If a 3rd party module needs to be notified about a new order
* so it can update the stock then they should add a method to their
* application here with the order id so they can get the info about it.
* i.e. $this->mylibraryfile->newOrderMethod($order_id);
*/