Inital commit
This commit is contained in:
@@ -41,4 +41,13 @@ interface PaymentModuleInterface extends BaseModuleInterface
|
||||
* @return boolean
|
||||
*/
|
||||
public function isValidPayment();
|
||||
|
||||
|
||||
/**
|
||||
* if you want, you can manage stock in your module instead of order process.
|
||||
* Return false to decrease the stock when order status switch to pay
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function manageStockOnCreation();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user