Pop\Shipping\Shipping::isError PHP Method

isError() public method

Return whether the transaction is an error
public isError ( ) : boolean
return boolean
    public function isError()
    {
        return $this->adapter->isError();
    }

Usage Example

Ejemplo n.º 1
0
 public function testIsError()
 {
     $s = new Shipping(new Ups('ACCESS_KEY', 'USER_ID', 'PASSWORD'));
     $this->assertTrue($s->isError());
 }