getCode() public method

Get specific response code from a field in the array
public getCode ( string $key ) : string
$key string
return string
Example #1
0
 public function testGetCode()
 {
     $p = new Payment(new Authorize('API_LOGIN_ID', 'TRANS_KEY', Payment::TEST));
     $this->assertNull($p->getCode(0));
 }