@@ -0,0 +1,2908 @@
+package io.reactivesw.customer.server.catalog.models.draft;%0A%0Aimport io.reactivesw.customer.server.catalog.models.ProductDiscountValue;%0Aimport io.reactivesw.customer.server.common.types.LocalizedString;%0A%0A/**%0A * Created by Davis on 16/11/17.%0A */%0Apublic class ProductDiscountDraft %7B%0A%0A  /**%0A   * The Name.%0A   */%0A  private LocalizedString name;%0A%0A  /**%0A   * The Description.%0A   */%0A  private LocalizedString description;%0A%0A  /**%0A   * The Value.%0A   */%0A  private ProductDiscountValue value;%0A%0A  /**%0A   * A valid ProductDiscount Predicate.%0A   */%0A  private String predicate;%0A%0A  /**%0A   * The string must contain a decimal number between 0 and 1.%0A   * A discount with greater sortOrder is prioritized higher than a discount with lower sortOrder.%0A   */%0A  private String sortOrder;%0A%0A  /**%0A   * If set to true the discount will be applied to product prices.%0A   */%0A  private Boolean isActive;%0A%0A  /**%0A   * Gets name.%0A   *%0A   * @return the name%0A   */%0A  public LocalizedString getName() %7B%0A    return name;%0A  %7D%0A%0A  /**%0A   * Sets name.%0A   *%0A   * @param name the name%0A   */%0A  public void setName(LocalizedString name) %7B%0A    this.name = name;%0A  %7D%0A%0A  /**%0A   * Gets description.%0A   *%0A   * @return the description%0A   */%0A  public LocalizedString getDescription() %7B%0A    return description;%0A  %7D%0A%0A  /**%0A   * Sets description.%0A   *%0A   * @param description the description%0A   */%0A  public void setDescription(LocalizedString description) %7B%0A    this.description = description;%0A  %7D%0A%0A  /**%0A   * Gets value.%0A   *%0A   * @return the value%0A   */%0A  public ProductDiscountValue getValue() %7B%0A    return value;%0A  %7D%0A%0A  /**%0A   * Sets value.%0A   *%0A   * @param value the value%0A   */%0A  public void setValue(ProductDiscountValue value) %7B%0A    this.value = value;%0A  %7D%0A%0A  /**%0A   * Gets predicate.%0A   *%0A   * @return the predicate%0A   */%0A  public String getPredicate() %7B%0A    return predicate;%0A  %7D%0A%0A  /**%0A   * Sets predicate.%0A   *%0A   * @param predicate the predicate%0A   */%0A  public void setPredicate(String predicate) %7B%0A    this.predicate = predicate;%0A  %7D%0A%0A  /**%0A   * Gets sort order.%0A   *%0A   * @return the sort order%0A   */%0A  public String getSortOrder() %7B%0A    return sortOrder;%0A  %7D%0A%0A  /**%0A   * Sets sort order.%0A   *%0A   * @param sortOrder the sort order%0A   */%0A  public void setSortOrder(String sortOrder) %7B%0A    this.sortOrder = sortOrder;%0A  %7D%0A%0A  /**%0A   * Gets active.%0A   *%0A   * @return the active%0A   */%0A  public Boolean getActive() %7B%0A    return isActive;%0A  %7D%0A%0A  /**%0A   * Sets active.%0A   *%0A   * @param active the active%0A   */%0A  public void setActive(Boolean active) %7B%0A    isActive = active;%0A  %7D%0A%0A  /**%0A   * toString method.%0A   *%0A   * @return String%0A   */%0A  @Override%0A  public String toString() %7B%0A    return %22ProductDiscountDraft%7B%22 +%0A        %22name=%22 + name +%0A        %22, description=%22 + description +%0A        %22, value=%22 + value +%0A        %22, predicate='%22 + predicate + '%5C'' +%0A        %22, sortOrder='%22 + sortOrder + '%5C'' +%0A        %22, isActive=%22 + isActive +%0A        '%7D';%0A  %7D%0A%7D%0A

add git commit -m add