PayPal\Api\ErrorDetails::setField PHP Method

setField() public method

Name of the field that caused the error.
public setField ( string $field )
$field string
    public function setField($field)
    {
        $this->field = $field;
        return $this;
    }