src/Model/Payment.php
public function getStatuses()
    {
        return [
            self::STATUS_PENDING,
            self::STATUS_PROCESSING,
            self::STATUS_COMPLETE,
            self::STATUS_FAILED,
            self::STATUS_REFUNDED,
            self::STATUS_REFUNDED_PARTIAL,
        ];
    }
public function getStatuses()
    {
        return [
            self::STATUS_PENDING,
            self::STATUS_PROCESSING,
            self::STATUS_COMPLETE,
            self::STATUS_FAILED,
            self::STATUS_REFUNDED,
            self::STATUS_REFUNDED_PARTIAL,
        ];
    }
public function getStatuses ( ) { return [ self :: STATUS_PENDING , self :: STATUS_PROCESSING , self :: STATUS_COMPLETE , self :: STATUS_FAILED , self :: STATUS_REFUNDED , self :: STATUS_REFUNDED_PARTIAL , ] ; }
Returns all the statuses as an array

@return array
Returns all the statuses as an array