withIsCommercial abstract method

VehicleSpecificationPrivateBusBuilder withIsCommercial(
  1. bool isCommercial
)

Sets the vehicle is commercial flag.

  • isCommercial The vehicle is commercial flag.

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

Implementation

VehicleSpecificationPrivateBusBuilder withIsCommercial(bool isCommercial);