/**
 * Paypal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */

import { object, optional, Schema, string } from '../schema';

/** Identifiers related to a specific resource. */
export interface RelatedIdentifiers {
  /** Order ID related to the resource. */
  orderId?: string;
  /** Authorization ID related to the resource. */
  authorizationId?: string;
  /** Capture ID related to the resource. */
  captureId?: string;
}

export const relatedIdentifiersSchema: Schema<RelatedIdentifiers> = object({
  orderId: ['order_id', optional(string())],
  authorizationId: ['authorization_id', optional(string())],
  captureId: ['capture_id', optional(string())],
});
