isValid() public method

Validate transaction data
public isValid ( ) : boolean
return boolean
Example #1
0
 public function testIsValid()
 {
     $p = new Payment(new Authorize('API_LOGIN_ID', 'TRANS_KEY', Payment::TEST));
     $this->assertFalse($p->isValid());
 }