withIsCommercial abstract method

VehicleSpecificationTaxiBuilder withIsCommercial(
  1. bool isCommercial
)

Sets the vehicle is commercial flag.

  • isCommercial The vehicle is commercial flag.

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

Implementation

VehicleSpecificationTaxiBuilder withIsCommercial(bool isCommercial);