-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MODORDERS-1210] Update piece update flow manager to include batch st…
…atus update
- Loading branch information
1 parent
09e578c
commit b682255
Showing
3 changed files
with
109 additions
and
81 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
src/main/java/org/folio/models/pieces/PieceBatchStatusUpdateHolder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package org.folio.models.pieces; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import org.folio.rest.jaxrs.model.Piece; | ||
|
||
import java.util.List; | ||
|
||
@AllArgsConstructor | ||
@Getter | ||
@Builder | ||
public class PieceBatchStatusUpdateHolder extends BasePieceFlowHolder { | ||
|
||
private Piece.ReceivingStatus receivingStatus; | ||
private List<Piece> pieces; | ||
private String poLineId; | ||
|
||
@Override | ||
public String getOrderLineId() { | ||
return poLineId; | ||
} | ||
|
||
@Override | ||
public String getTitleId() { | ||
return null; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters