docs/api/Opencart.Admin.Model.Sale.Order.html
| extends | Model |
Class Order
Located at admin\model\sale\order.php
| Methods |
|---|
| ` |
public
` | `getOrder(int $order_id): array<string, mixed>`
Get Order
Get Order
| # | | `
public
` | `getOrders(array<string, mixed> $data = []): array<int, array<string, mixed>>`
Get Orders
Get Orders
| # | | `
public
` | `getOrdersBySubscriptionId(int $subscription_id): array<int, array<string, mixed>>`
Get Orders By Subscription ID
Get Orders By Subscription ID
| # | | `
public
` | `getTotalOrdersBySubscriptionId(int $subscription_id): int`
Get Total Orders By Subscription ID
Get Total Orders By Subscription ID
| # | | `
public
` | `getProducts(int $order_id): array<int, array<string, mixed>>`
Get Products
Get Products
| # | | `
public
` | `getTotalProductsByProductId(int $product_id): int`
Get Total Products By Product ID
Get Total Products By Product ID
| # | | `
public
` | `getOptions(int $order_id, int $order_product_id): array<int, array<string, mixed>>`
Get Options
Get Options
| # | | `
public
` | `getSubscription(int $order_id, int $order_product_id): array<string, mixed>`
Get Subscription
Get Subscription
| # | | `
public
` | `getVouchers(int $order_id): array<int, array<string, mixed>>`
Get Vouchers
Get Vouchers
| # | | `
public
` | `getVoucherByVoucherId(int $voucher_id): array<string, mixed>`
Get Voucher By Voucher ID
Get Voucher By Voucher ID
| # | | `
public
` | `getTotals(int $order_id): array<int, array<string, mixed>>`
Get Totals
Get Totals
| # | | `
public
` | `getTotalOrders(array<string, mixed> $data = []): int`
Get Total Orders
Get Total Orders
| # | | `
public
` | `getTotalOrdersByStoreId(int $store_id): int`
Get Total Orders By Store ID
Get Total Orders By Store ID
| # | | `
public
` | `getTotalOrdersByOrderStatusId(int $order_status_id): int`
Get Total Orders By Order Status ID
Get Total Orders By Order Status ID
| # | | `
public
` | `getTotalOrdersByProcessingStatus(): int`
Get Total Orders By Processing Status
Get Total Orders By Processing Status
| # | | `
public
` | `getTotalOrdersByCompleteStatus(): int`
Get Total Orders By Complete Status
Get Total Orders By Complete Status
| # | | `
public
` | `getTotalOrdersByLanguageId(int $language_id): int`
Get Total Orders By Language ID
Get Total Orders By Language ID
| # | | `
public
` | `getTotalOrdersByCurrencyId(int $currency_id): int`
Get Total Orders By Currency ID
Get Total Orders By Currency ID
| # | | `
public
` | `getTotalSales(array<string, mixed> $data = []): float`
Get Total Sales
Get Total Sales
| # | | `
public
` | `createInvoiceNo(int $order_id): string`
Create Invoice No
Create Invoice No
| # | | `
public
` | `getRewardTotal(int $order_id): int`
Get Reward Total
Get Reward Total
| # | | `
public
` | `getHistories(int $order_id, int $start = 0, int $limit = 10): array<int, array<string, mixed>>`
Get Histories
Get Histories
| # | | `
public
` | `getTotalHistories(int $order_id): int`
Get Total Histories
Get Total Histories
| # | | `
public
` | `getTotalHistoriesByOrderStatusId(int $order_status_id): int`
Get Total Histories By Order Status ID
Get Total Histories By Order Status ID
| # | | `
public
` | `getEmailsByProductsOrdered(array<int> $products, int $start, int $end): array<int, array<string, mixed>>`
Get Emails By Products Ordered
Get Emails By Products Ordered
| # | | `
public
` | `getTotalEmailsByProductsOrdered(array<int> $products): int`
Get Total Emails By Products Ordered
Get Total Emails By Products Ordered
| # |
| Methods inherited from Opencart\System\Engine\Model |
|---|
__construct(),__get(), __set(),__isset() |
| Properties inherited from Opencart\System\Engine\Model |
|---|
$registry |
OpenCart API API documentation generated by ApiGen dev-master