withIsCommercial abstract method

VehicleSpecificationTruckBuilder withIsCommercial(
  1. bool isCommercial
)

Sets the vehicle is commercial flag.

  • isCommercial The vehicle is commercial flag.

Returns VehicleSpecificationTruckBuilder. The VehicleSpecificationTruckBuilder object with the is commercial flag set to the new value.

Implementation

VehicleSpecificationTruckBuilder withIsCommercial(bool isCommercial);