/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
import { lazy, object, optional, string } from '../schema';
import { addressSchema } from './address';
import { cardBrandSchema } from './cardBrand';
import { setupTokenCardExperienceContextSchema, } from './setupTokenCardExperienceContext';
import { vaultCardVerificationMethodSchema, } from './vaultCardVerificationMethod';
export const setupTokenRequestCardSchema = object({
    name: ['name', optional(string())],
    number: ['number', optional(string())],
    expiry: ['expiry', optional(string())],
    securityCode: ['security_code', optional(string())],
    brand: ['brand', optional(cardBrandSchema)],
    billingAddress: ['billing_address', optional(lazy(() => addressSchema))],
    verificationMethod: [
        'verification_method',
        optional(vaultCardVerificationMethodSchema),
    ],
    experienceContext: [
        'experience_context',
        optional(lazy(() => setupTokenCardExperienceContextSchema)),
    ],
});
//# sourceMappingURL=setupTokenRequestCard.js.map