/** * PayPal Server SDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, object, optional, Schema } from '../schema.js'; import { PaypalWalletCustomerRequest, paypalWalletCustomerRequestSchema, } from './paypalWalletCustomerRequest.js'; import { PaypalWalletVaultInstruction, paypalWalletVaultInstructionSchema, } from './paypalWalletVaultInstruction.js'; /** Additional attributes associated with the use of this PayPal Wallet. */ export interface PaypalWalletAttributes { customer?: PaypalWalletCustomerRequest; vault?: PaypalWalletVaultInstruction; } export const paypalWalletAttributesSchema: Schema = lazy( () => object({ customer: ['customer', optional(paypalWalletCustomerRequestSchema)], vault: ['vault', optional(paypalWalletVaultInstructionSchema)], }) );