• File: PlanResponse.php
  • Full Path: /var/www/crm_set/application/vendor/omnipay/braintree/src/Message/PlanResponse.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 440 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
/**
 * PlanResponse class.
 */
namespace Omnipay\Braintree\Message;

class PlanResponse extends Response
{
    /**
     * Returns array of Braintree_Plans objects with available plans
     * If there aren't any plans created it will return empty array.
     *
     * @return array
     */
    public function getPlansData()
    {
        if (isset($this->data)) {
            return $this->data;
        }

        return [];
    }
}