src/org/openbravo/common/hooks/OrderLineQtyChangedHookObject.java
changeset 21925 c385f03ea176
parent 21276 2a737579aafc
equal deleted inserted replaced
21924:8b7a6ede079c 21925:c385f03ea176
     1 package org.openbravo.common.hooks;
     1 package org.openbravo.common.hooks;
     2 
     2 
     3 import java.math.BigDecimal;
     3 import java.math.BigDecimal;
       
     4 
       
     5 import org.openbravo.model.pricing.pricelist.PriceList;
     4 
     6 
     5 public class OrderLineQtyChangedHookObject {
     7 public class OrderLineQtyChangedHookObject {
     6 
     8 
     7   private String productId;
     9   private String productId;
     8   private String orderId;
    10   private String orderId;
     9   private BigDecimal qty;
    11   private BigDecimal qty;
    10   private BigDecimal price;
    12   private BigDecimal price;
    11   private String changed;
    13   private String changed;
    12   private int pricePrecision;
    14   private int pricePrecision;
       
    15   private PriceList priceList;
       
    16   private BigDecimal listPrice;
    13 
    17 
    14   public int getPricePrecision() {
    18   public int getPricePrecision() {
    15     return pricePrecision;
    19     return pricePrecision;
    16   }
    20   }
    17 
    21 
    61 
    65 
    62   public void setPrice(BigDecimal price) {
    66   public void setPrice(BigDecimal price) {
    63     this.price = price;
    67     this.price = price;
    64   }
    68   }
    65 
    69 
       
    70   public PriceList getPriceList() {
       
    71     return priceList;
       
    72   }
       
    73 
       
    74   public void setPriceList(PriceList priceList) {
       
    75     this.priceList = priceList;
       
    76   }
       
    77 
       
    78   public BigDecimal getListPrice() {
       
    79     return listPrice;
       
    80   }
       
    81 
       
    82   public void setListPrice(BigDecimal listPrice) {
       
    83     this.listPrice = listPrice;
       
    84   }
       
    85 
    66 }
    86 }