Sonata\Component\Payment\BasePaypal::getPaymentStatusList PHP Method

getPaymentStatusList() public static method

return the status list available from paypal system.
public static getPaymentStatusList ( ) : array
return array
    public static function getPaymentStatusList()
    {
        return array(self::PAYMENT_STATUS_CANCELED_REVERSAL => 'A reversal has been cancelled. For example, you won a dispute with the customer, and the funds for the transaction that was reversed have been returned to you', self::PAYMENT_STATUS_COMPLETED => 'The payment has been completed, and the funds have been added successfully to your account balance', self::PAYMENT_STATUS_DENIED => 'You denied the payment. This happens only if the payment was previously pending because of possible reasons', self::PAYMENT_STATUS_FAILED => 'The payment has failed. This happens only if the payment was made from your customer’s bank account.', self::PAYMENT_STATUS_PENDING => 'The payment is pending. See pending_reason for more information.', self::PAYMENT_STATUS_REFUNDED => 'You refunded the payment.', self::PAYMENT_STATUS_REVERSED => 'A payment was reversed due to a chargeback or other type of reversal. The funds have been removed from your account balance and returned to the buyer. The reason for the reversal is specified in the ReasonCode element.', self::PAYMENT_STATUS_PROCESSED => 'A payment has been accepted.', self::PAYMENT_STATUS_VOIDED => 'This authorization has been voided.');
    }