Commit 77eba44c authored by Christos Tranoris's avatar Christos Tranoris
Browse files

update model

parent 9119c71f
Loading
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -118,6 +118,10 @@ public class ProductOrderCreate {
  @JsonProperty("@type")
  private String type = null;
  
  //we don;t skip state..This allows us to put it immediately in acknowledged
  @JsonProperty("state")
  private ProductOrderStateType state = null;

  public ProductOrderCreate cancellationDate(OffsetDateTime cancellationDate) {
    this.cancellationDate = cancellationDate;
    return this;
@@ -661,6 +665,27 @@ public class ProductOrderCreate {
    this.schemaLocation = schemaLocation;
  }
  
  public ProductOrderCreate state(ProductOrderStateType state) {
    this.state = state;
    return this;
  }

  /**
   * Get state
   * 
   * @return state
   **/
  @Schema(description = "")

  @Valid
  public ProductOrderStateType getState() {
    return state;
  }

  public void setState(ProductOrderStateType state) {
    this.state = state;
  }

  public ProductOrderCreate type(String type) {
    this.type = type;
    return this;