Newer Version Available
WorkTypeBuilder Class
A Builder object is obtained by invoking one of the WorkTypeBuilder methods defined by the WorkType class.
Namespace
WorkTypeBuilder Methods
The following are methods for WorkTypeBuilder.
setBlockTimeAfterAppointmentInMinutes(blockTimeAfterAppointmentInMinutes)
Signature
public lxscheduler.WorkTypeBuilder setBlockTimeAfterAppointmentInMinutes(Integer blockTimeAfterAppointmentInMinutes)
Parameters
- blockTimeAfterAppointmentInMinutes
- Type: Integer
- The time period after the appointment is considered unavailable.
Return Value
setBlockTimeBeforeAppointmentInMinutes(blockTimeBeforeAppointmentInMinutes)
Signature
public lxscheduler.WorkTypeBuilder setBlockTimeBeforeAppointmentInMinutes(Integer blockTimeBeforeAppointmentInMinutes)
Parameters
- blockTimeBeforeAppointmentInMinutes
- Type: Integer
- The time period before the appointment is considered as unavailable.
Return Value
setDurationInMinutes(durationInMinutes)
Signature
public lxscheduler.WorkTypeBuilder setDurationInMinutes(Integer durationInMinutes)
Parameters
- durationInMinutes
- Type: Integer
- Contains the event length, in minutes. Required if id is not given.
Return Value
setId(id)
Signature
public lxscheduler.WorkTypeBuilder setId(String id)
Parameters
- id
- Type: String
- The ID of the work type. Required if you're using shifts or if durationInMinutes is not given.
Return Value
setOperatingHoursId(operatingHoursId)
Signature
public lxscheduler.WorkTypeBuilder setOperatingHoursId(String operatingHoursId)
Parameters
- operatingHoursId
- Type: String
- The overlap of all operating hours from the account, work type, service territory, and service territory member are considered while determining time slots.
Return Value
setSkillRequirements(skillRequirements)
Signature
public lxscheduler.WorkTypeBuilder setSkillRequirements(List<lxscheduler.SkillRequirement> skillRequirements)
Parameters
- skillRequirements
- Type: List<lxscheduler.SkillRequirement>
- This method takes input as an instance of the lxscheduler.SkillRequirement class. Build the instance of the input class using the lxscheduler.SkillRequirementBuilder class.
Return Value
setTimeFrameEndInMinutes(timeFrameEndInMinutes)
Signature
public lxscheduler.WorkTypeBuilder setTimeFrameEndInMinutes(Integer timeFrameEndInMinutes)
Parameters
- timeFrameEndInMinutes
- Type: Integer
Return Value
setTimeFrameStartInMinutes(timeFrameStartInMinutes)
Signature
public lxscheduler.WorkTypeBuilder setTimeFrameStartInMinutes(Integer timeFrameStartInMinutes)
Parameters
- timeFrameStartInMinutes
- Type: Integer