withIsCommercial abstract method
- bool isCommercial
Sets the vehicle is commercial flag.
isCommercialThe vehicle is commercial flag.
Returns VehicleSpecificationTruckBuilder. The VehicleSpecificationTruckBuilder object with the is commercial flag set to the new value.
Implementation
VehicleSpecificationTruckBuilder withIsCommercial(bool isCommercial);