"use strict";
/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
exports.__esModule = true;
exports.planSchema = void 0;
var schema_1 = require("../schema");
var billingCycle_1 = require("./billingCycle");
var oneTimeCharge_1 = require("./oneTimeCharge");
exports.planSchema = (0, schema_1.object)({
    billingCycles: ['billing_cycles', (0, schema_1.array)((0, schema_1.lazy)(function () { return billingCycle_1.billingCycleSchema; }))],
    product: ['product', (0, schema_1.optional)((0, schema_1.unknown)())],
    oneTimeCharges: ['one_time_charges', (0, schema_1.lazy)(function () { return oneTimeCharge_1.oneTimeChargeSchema; })],
    name: ['name', (0, schema_1.optional)((0, schema_1.string)())]
});
//# sourceMappingURL=plan.js.map