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

import { Schema, stringEnum } from '../schema';

/**
 * Enum for CaptureIncompleteReason
 */
export enum CaptureIncompleteReason {
  BuyerComplaint = 'BUYER_COMPLAINT',
  Chargeback = 'CHARGEBACK',
  Echeck = 'ECHECK',
  InternationalWithdrawal = 'INTERNATIONAL_WITHDRAWAL',
  Other = 'OTHER',
  PendingReview = 'PENDING_REVIEW',
  ReceivingPreferenceMandatesManualAction = 'RECEIVING_PREFERENCE_MANDATES_MANUAL_ACTION',
  Refunded = 'REFUNDED',
  TransactionApprovedAwaitingFunding = 'TRANSACTION_APPROVED_AWAITING_FUNDING',
  Unilateral = 'UNILATERAL',
  VerificationRequired = 'VERIFICATION_REQUIRED',
  DeclinedByRiskFraudFilters = 'DECLINED_BY_RISK_FRAUD_FILTERS',
}

/**
 * Schema for CaptureIncompleteReason
 */
export const captureIncompleteReasonSchema: Schema<CaptureIncompleteReason> = stringEnum(
  CaptureIncompleteReason,
  true
);
