/** * PayPal Server SDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { object, optional, Schema, string } from '../schema.js'; /** The details for the merchant who receives the funds and fulfills the order. The merchant is also known as the payee. */ export interface PayeeBase { /** The internationalized email address. Note: Up to 64 characters are allowed before and 255 characters are allowed after the @ sign. However, the generally accepted maximum length for an email address is 254 characters. The pattern verifies that an unquoted @ sign exists. */ emailAddress?: string; /** The account identifier for a PayPal account. */ merchantId?: string; } export const payeeBaseSchema: Schema = object({ emailAddress: ['email_address', optional(string())], merchantId: ['merchant_id', optional(string())], });