code: public function getStateAllowableValues()
      {
          return array(
              self::STATE_AUTHORISED,
              self::STATE_CAPTURED,
              self::STATE_CANCELLED,
              self::STATE_DECLINED,
              self::STATE_REFUNDED,
          );
      }
docs: Gets allowable values of the enum
  @return string[]