withIsCommercial abstract method

VehicleSpecificationCarBuilder withIsCommercial(
  1. bool isCommercial
)

Sets the vehicle is commercial flag.

  • isCommercial The vehicle is commercial flag.

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

Implementation

VehicleSpecificationCarBuilder withIsCommercial(bool isCommercial);