<?php

declare(strict_types=1);

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

namespace PaypalServerSdkLib\Models;

/**
 * The status of the captured payment.
 */
class CaptureStatus
{
    /**
     * The funds for this captured payment were credited to the payee's PayPal account.
     */
    public const COMPLETED = 'COMPLETED';

    /**
     * The funds could not be captured.
     */
    public const DECLINED = 'DECLINED';

    /**
     * An amount less than this captured payment's amount was partially refunded to the payer.
     */
    public const PARTIALLY_REFUNDED = 'PARTIALLY_REFUNDED';

    /**
     * The funds for this captured payment was not yet credited to the payee's PayPal account. For more
     * information, see status.details.
     */
    public const PENDING = 'PENDING';

    /**
     * An amount greater than or equal to this captured payment's amount was refunded to the payer.
     */
    public const REFUNDED = 'REFUNDED';

    /**
     * There was an error while capturing payment.
     */
    public const FAILED = 'FAILED';
}
