PromisePay/promisepay-php

View on GitHub
lib/DataObjects/CardAccount.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace PromisePay\DataObjects;
/**
 * Class CardAccount
 * @package PromisePay\DataObjects
 */
class CardAccount extends AccountAbstract
{
    /**
     * @var
     */
    private $_card;

    public function __construct($jsonData= array())
    {
        $this->_card = new Card($jsonData);
        parent::__construct($jsonData);
    }

    /**
     * @return mixed
     */
    public function getCard()
    {
        return $this->_card;
    }

    /**
     * @param mixed $card
     */
    public function setCard($card)
    {
        $this->_card = $card;
    }


}