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

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

/**
 * Enum for AuthorizationStatus
 */
export enum AuthorizationStatus {
  Created = 'CREATED',
  Captured = 'CAPTURED',
  Denied = 'DENIED',
  PartiallyCaptured = 'PARTIALLY_CAPTURED',
  Voided = 'VOIDED',
  Pending = 'PENDING',
}

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