Package com.mypurecloud.sdk.v2.model
Class AlternativeShiftTradeResponse
java.lang.Object
com.mypurecloud.sdk.v2.model.AlternativeShiftTradeResponse
- All Implemented Interfaces:
Serializable
AlternativeShiftTradeResponse
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe processing status of this alternative shift tradestatic enumThe state of this alternative shift tradestatic enumGets or Sets violations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadminDateReviewed(Date adminDateReviewed) The timestamp of when the trade request was reviewed by an admin in ISO-8601 formatadminReviewedBy(UserReference adminReviewedBy) The admin who reviewed this alternative shift trade after system denialbooleanexistingShifts(List<AlternativeShiftAgentScheduledShift> existingShifts) The existing shifts from the offer, may be emptyexpirationDate(Date expirationDate) The date when the trade will expire in ISO-8601 format.getId()getState()getUser()inthashCode()managementUnit(ManagementUnitReference managementUnit) The management unit of this alternative shift trade requestmetadata(WfmVersionedEntityMetadata metadata) Version metadata for this alternative shift tradeofferedShifts(List<AlternativeShiftAgentScheduledShift> offeredShifts) The offered shifts from the offer, may be emptyprocessingStatus(AlternativeShiftTradeResponse.ProcessingStatusEnum processingStatus) The processing status of this alternative shift tradeschedule(AlternativeShiftScheduleLookup schedule) The existing schedule information associated with the tradevoidsetAdminDateReviewed(Date adminDateReviewed) voidsetAdminReviewedBy(UserReference adminReviewedBy) voidsetExistingShifts(List<AlternativeShiftAgentScheduledShift> existingShifts) voidsetExpirationDate(Date expirationDate) voidsetManagementUnit(ManagementUnitReference managementUnit) voidsetMetadata(WfmVersionedEntityMetadata metadata) voidsetOfferedShifts(List<AlternativeShiftAgentScheduledShift> offeredShifts) voidsetProcessingStatus(AlternativeShiftTradeResponse.ProcessingStatusEnum processingStatus) voidsetSchedule(AlternativeShiftScheduleLookup schedule) voidsetShiftOfferJobId(String shiftOfferJobId) voidvoidsetSystemDateReviewed(Date systemDateReviewed) voidsetUser(UserReference user) voidvoidsetWeekDate(LocalDate weekDate) shiftOfferJobId(String shiftOfferJobId) The job ID of the alternative shift offer listing, from which the trade was chosenThe state of this alternative shift tradesystemDateReviewed(Date systemDateReviewed) The timestamp of when the trade request was reviewed by the system in ISO-8601 formattoString()user(UserReference user) The user who submitted the trade requestviolations(List<AlternativeShiftTradeResponse.ViolationsEnum> violations) A list of trade match violationsThe start week date of the associated schedule in yyyy-MM-dd format.
-
Constructor Details
-
AlternativeShiftTradeResponse
public AlternativeShiftTradeResponse() -
AlternativeShiftTradeResponse
-
-
Method Details
-
getId
-
shiftOfferJobId
The job ID of the alternative shift offer listing, from which the trade was chosen -
getShiftOfferJobId
-
setShiftOfferJobId
-
existingShifts
public AlternativeShiftTradeResponse existingShifts(List<AlternativeShiftAgentScheduledShift> existingShifts) The existing shifts from the offer, may be empty -
getExistingShifts
-
setExistingShifts
-
offeredShifts
public AlternativeShiftTradeResponse offeredShifts(List<AlternativeShiftAgentScheduledShift> offeredShifts) The offered shifts from the offer, may be empty -
getOfferedShifts
-
setOfferedShifts
-
schedule
The existing schedule information associated with the trade -
getSchedule
-
setSchedule
-
managementUnit
The management unit of this alternative shift trade request -
getManagementUnit
-
setManagementUnit
-
user
The user who submitted the trade request -
getUser
-
setUser
-
weekDate
The start week date of the associated schedule in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd -
getWeekDate
-
setWeekDate
-
expirationDate
The date when the trade will expire in ISO-8601 format. The trade cannot be approved after expiration -
getExpirationDate
-
setExpirationDate
-
state
The state of this alternative shift trade -
getState
-
setState
-
processingStatus
public AlternativeShiftTradeResponse processingStatus(AlternativeShiftTradeResponse.ProcessingStatusEnum processingStatus) The processing status of this alternative shift trade -
getProcessingStatus
-
setProcessingStatus
public void setProcessingStatus(AlternativeShiftTradeResponse.ProcessingStatusEnum processingStatus) -
systemDateReviewed
The timestamp of when the trade request was reviewed by the system in ISO-8601 format -
getSystemDateReviewed
-
setSystemDateReviewed
-
adminDateReviewed
The timestamp of when the trade request was reviewed by an admin in ISO-8601 format -
getAdminDateReviewed
-
setAdminDateReviewed
-
adminReviewedBy
The admin who reviewed this alternative shift trade after system denial -
getAdminReviewedBy
-
setAdminReviewedBy
-
violations
public AlternativeShiftTradeResponse violations(List<AlternativeShiftTradeResponse.ViolationsEnum> violations) A list of trade match violations -
getViolations
-
setViolations
-
metadata
Version metadata for this alternative shift trade -
getMetadata
-
setMetadata
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-