extends |
Model |
|---|
Class Subscription
| Methods | ||
|---|---|---|
public
|
getSubscription(int $subscription_id): array<string, mixed>
|
# |
public
|
getSubscriptionByOrderProductId(int $order_id, int $order_product_id): array<string, mixed>
|
# |
public
|
getSubscriptions(int $start = 0, int $limit = 20): array<int, array<string, mixed>>
|
# |
public
|
getTotalSubscriptions(): int
|
# |
public
|
getTotalSubscriptionByShippingAddressId(int $address_id): int
|
# |
public
|
getTotalSubscriptionByPaymentAddressId(int $address_id): int
|
# |
public
|
getHistories(int $subscription_id, int $start = 0, int $limit = 10): array<int, array<string, mixed>>
|
# |
public
|
getTotalHistories(int $subscription_id): int
|
# |
public
|
editRemaining(int $subscription_id, int $remaining): void
|
# |
public
|
editTrialRemaining(int $subscription_id, int $trial_remaining): void
|
# |
| Methods inherited from Opencart\System\Engine\Model |
|---|
__construct(), __get(), __set(), __isset() |
| Properties inherited from Opencart\System\Engine\Model |
|---|
$registry |