/** * PayPal Server SDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { object, optional, Schema, string } from '../schema.js'; /** This object defines a customer in your system. Use it to manage customer profiles, save payment methods and contact details. */ export interface Customer { /** The unique ID for a customer generated by PayPal. */ id?: string; /** Merchants and partners may already have a data-store where their customer information is persisted. Use merchant_customer_id to associate the PayPal-generated customer.id to your representation of a customer. */ merchantCustomerId?: string; } export const customerSchema: Schema = object({ id: ['id', optional(string())], merchantCustomerId: ['merchant_customer_id', optional(string())], });