Открытые статические члены | |
static | findOrCreatePaymentEqualOrderSum (int $orderId, ?int $paySystemId=null) |
Class helps to dynamically find or create order payments
См. определение в файле orderpaymentresolver.php строка 12
|
static |
Finds first payment with sum equals order's total sum. If payment not found - creates one with specific payment system. You can skip specify payment system and use default (usually cash).
int | $orderId | |
int | null | $paySystemId |
См. определение в файле orderpaymentresolver.php строка 23