Methods |
public
|
addOrder(array<string, mixed> $data): int
|
#
|
public
|
editOrder(int $order_id, array<string, mixed> $data): void
|
#
|
public
|
editTransactionId(int $order_id, string $transaction_id): void
|
#
|
public
|
editOrderStatusId(int $order_id, int $order_status_id): void
|
#
|
public
|
editComment(int $order_id, string $comment): void
|
#
|
public
|
deleteOrder(int $order_id): void
|
#
|
public
|
getOrder(int $order_id): array<string, mixed>
|
#
|
public
|
addProduct(int $order_id, array<string, mixed> $data): int
|
#
|
public
|
deleteProducts(int $order_id, int $order_product_id = 0): void
|
#
|
public
|
getProduct(int $order_id, int $order_product_id): array<int, array<string, mixed>>
|
#
|
public
|
getProducts(int $order_id): array<int, array<string, mixed>>
|
#
|
public
|
addOption(int $order_id, int $order_product_id, array<string, mixed> $data): void
|
#
|
public
|
deleteOptions(int $order_id, int $order_product_id = 0): void
|
#
|
public
|
getOptions(int $order_id, int $order_product_id): array<int, array<string, mixed>>
|
#
|
public
|
addSubscription(int $order_id, int $order_product_id, array<string, mixed> $data): void
|
#
|
public
|
deleteSubscription(int $order_id, int $order_product_id = 0): void
|
#
|
public
|
getSubscription(int $order_id, int $order_product_id): array<string, mixed>
|
#
|
public
|
getSubscriptions(array<string, mixed> $data): array<int, array<string, mixed>>
|
#
|
public
|
getTotalOrdersBySubscriptionId(int $subscription_id): int
Get Total Orders By Subscription ID
Get Total Orders By Subscription ID
|
#
|
public
|
addVoucher(int $order_id, array<string, mixed> $data): int
|
#
|
public
|
deleteVouchers(int $order_id, int $order_voucher_id = 0): void
|
#
|
public
|
getVoucherByVoucherId(int $order_id, int $voucher_id): array<int, array<string, mixed>>
Get Voucher By Voucher ID
Get Voucher By Voucher ID
|
#
|
public
|
getVouchers(int $order_id): array<int, array<string, mixed>>
|
#
|
public
|
addTotal(int $order_id, array<string, mixed> $data): void
|
#
|
public
|
deleteTotals(int $order_id): void
|
#
|
public
|
getTotals(int $order_id): array<int, array<string, mixed>>
|
#
|
public
|
addHistory(
int $order_id,
int $order_status_id,
string $comment = '',
bool $notify = false,
bool $override = false,
): void
|
#
|
public
|
deleteHistory(int $order_id): void
|
#
|