function __construct($properties = null) { parent::__construct($properties); $this->paymentType = PaymentTypes::ECheck; $this->accountNumber = $this->cleanseAccountNumber($this->accountNumber); $this->accountNumberConfirm = $this->cleanseAccountNumber($this->accountNumberConfirm); $this->routingNumber = $this->cleanseRoutingNumber($this->routingNumber); }
function __construct($properties = array()) { parent::__construct($properties); $this->paymentType = PaymentTypes::CreditCard; $this->creditCardNumber = $this->cleanseCreditCardNumber($this->creditCardNumber); }