# Class Opencart\Admin\Model\Catalog\SubscriptionPlan

`extends` | `Model`

Class Subscription Plan

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\Catalog\SubscriptionPlan

Located at admin\model\catalog\subscription_plan.php

Methods
`public` | `addSubscriptionPlan(array<string, mixed> $data): int` Add Subscription Plan Add Subscription Plan | #
`public` | `editSubscriptionPlan(int $subscription_plan_id, array<string, mixed> $data): void` Edit Subscription Plan Edit Subscription Plan | #
`public` | `copySubscriptionPlan(int $subscription_plan_id): void` Copy Subscription Plan Copy Subscription Plan | #
`public` | `deleteSubscriptionPlan(int $subscription_plan_id): void` Delete Subscription Plan Delete Subscription Plan | #
`public` | `getSubscriptionPlan(int $subscription_plan_id): array<string, mixed>` Get Subscription Plan Get Subscription Plan | #
`public` | `getSubscriptionPlans(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Subscription Plans Get Subscription Plans | #
`public` | `addDescription(int $subscription_plan_id, int $language_id, array<string, mixed> $data): void` Add Description Add Description | #
`public` | `deleteDescriptions(int $subscription_plan_id): void` Delete Descriptions Delete Descriptions | #
`public` | `deleteDescriptionsByLanguageId(int $language_id): void` Delete Descriptions By Language ID Delete Descriptions By Language ID | #
`public` | `getDescriptions(int $subscription_plan_id): array<int, array<string, string>>` Get Descriptions Get Descriptions | #
`public` | `getDescriptionsByLanguageId(int $language_id): array<int, array<string, string>>` Get Descriptions By Language ID Get Descriptions By Language ID | #
`public` | `getTotalSubscriptionPlans(): int` Get Total Subscription Plans Get Total Subscription Plans | #

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