/** * PayPal Server SDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../schema.js'; import { MerchantPreferences } from './merchantPreferences.js'; import { PaymentPreferences } from './paymentPreferences.js'; import { PlanRequestStatus } from './planRequestStatus.js'; import { SubscriptionBillingCycle } from './subscriptionBillingCycle.js'; import { Taxes } from './taxes.js'; /** The create plan request details. */ export interface PlanRequest { /** The ID of the product created through Catalog Products API. */ productId: string; /** The plan name. */ name: string; /** The initial state of the plan. Allowed input values are CREATED and ACTIVE. */ status?: PlanRequestStatus; /** The detailed description of the plan. */ description?: string; /** An array of billing cycles for trial billing and regular billing. A plan can have at most two trial cycles and only one regular cycle. */ billingCycles: SubscriptionBillingCycle[]; /** The payment preferences for a subscription. */ paymentPreferences: PaymentPreferences; /** The merchant preferences for a subscription. */ merchantPreferences?: MerchantPreferences; /** The tax details. */ taxes?: Taxes; /** Indicates whether you can subscribe to this plan by providing a quantity for the goods or service. */ quantitySupported?: boolean; } export declare const planRequestSchema: Schema; //# sourceMappingURL=planRequest.d.ts.map