NetworkRestrictedTruckBuilder

public class NetworkRestrictedTruckBuilder
extension TransportSpecification.NetworkRestrictedTruckBuilder: NativeBase
extension TransportSpecification.NetworkRestrictedTruckBuilder: Hashable

This class constructs a TransportSpecification for a network restricted truck.

  • Creates a new instance of this class.

    Declaration

    Swift

    public init()
  • Sets the vehicle specification.

    Declaration

    Swift

    public func withVehicleSpecification(_ vehicleSpecification: VehicleSpecification) -> TransportSpecification.NetworkRestrictedTruckBuilder

    Parameters

    vehicleSpecification

    The vehicle specification.

    Return Value

    The TransportSpecification.NetworkRestrictedTruckBuilder object with the vehicle specification set to the new value.

  • Builds the TransportSpecification object for a network restricted truck with the specifications taken from the TransportSpecification.NetworkRestrictedTruckBuilder object.

    Declaration

    Swift

    public func build() -> TransportSpecification

    Return Value

    The TransportSpecification object created from the TransportSpecification.NetworkRestrictedTruckBuilder object.