# Class Opencart\Catalog\Model\Account\Order

`extends` | `Model`

Class Order

- Opencart\System\Engine\Model
  - Opencart\Catalog\Model\Account\Order

Located at catalog\model\account\order.php

Methods
`public` | `getOrder(int $order_id): array<string, mixed>` Get Order Get Order | #
`public` | `getOrders(int $start = 0, int $limit = 20): array<int, array<string, mixed>>` Get Orders Get Orders | #
`public` | `getOrdersBySubscriptionId(int $subscription_id, int $start = 0, int $limit = 20): array<int, array<string, mixed>>` Get Orders By Subscription ID Get Orders By Subscription ID | #
`public` | `getProduct(int $order_id, int $order_product_id): array<string, mixed>` Get Product Get Product | #
`public` | `getProducts(int $order_id): array<int, array<string, mixed>>` Get Products Get Products | #
`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` | `getTotals(int $order_id): array<int, array<string, mixed>>` Get Totals Get Totals | #
`public` | `getHistories(int $order_id): array<int, array<string, mixed>>` Get Histories Get Histories | #
`public` | `getTotalHistories(int $order_id): int` Get Total Histories Get Total Histories | #
`public` | `getTotalOrders(): int` Get Total Orders Get Total Orders | #
`public` | `getTotalOrdersByProductId(int $product_id): int` Get Total Orders By Product ID Get Total Orders By Product ID | #
`public` | `getTotalProductsByOrderId(int $order_id): int` Get Total Products By Order ID Get Total Products By Order ID | #
`public` | `getTotalVouchersByOrderId(int $order_id): int` Get Total Vouchers By Order ID Get Total Vouchers By Order ID | #
`public` | `getTotalOrdersBySubscriptionId(int $subscription_id): int` Get Total Orders By Subscription ID Get Total Orders By Subscription ID | #

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