/** * Copyright (c) 2020 The Nuinalp Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ import { Model } from '@nuinalp/api-core/browser'; export default class Plans extends Model { protected static adapter: any; id: string; name: string; description?: string; id_product: string; value: number; code: string; bill_cycle: "week" | "month" | "year"; bill_cycle_unit: number; trial_days?: number; trial_value?: number; setup_fee?: number; setup_fee_description?: string; automatic_renew: boolean; created_at: Date; updated_at: Date; deleted_at: Date; }