temirlan100

Untitled

Dec 2nd, 2024
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.64 KB | None | 0 0
  1. public class InventoryChange {
  2.     private String productId;
  3.     private int quantityChange;
  4.  
  5.     public InventoryChange() {
  6.     }
  7.  
  8.     public InventoryChange(String productId, int quantityChange) {
  9.         this.productId = productId;
  10.         this.quantityChange = quantityChange;
  11.     }
  12.  
  13.     public String getProductId() {
  14.         return productId;
  15.     }
  16.  
  17.     public void setProductId(String productId) {
  18.         this.productId = productId;
  19.     }
  20.  
  21.     public int getQuantityChange() {
  22.         return quantityChange;
  23.     }
  24.  
  25.     public void setQuantityChange(int quantityChange) {
  26.         this.quantityChange = quantityChange;
  27.     }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment