Advertisement
Guest User

Untitled

a guest
Jan 29th, 2015
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. package com.sil.salesorder.order.model;
  2.  
  3. import java.io.Serializable;
  4.  
  5. public class OrderDetails implements Serializable{
  6.  
  7. /**
  8. *
  9. */
  10. private static final long serialVersionUID = 8223361678976518528L;
  11.  
  12.  
  13.  
  14.  
  15. public String getOrderId() {
  16. return orderId;
  17. }
  18. public void setOrderId(String orderId) {
  19. this.orderId = orderId;
  20. }
  21. public String getProductCode() {
  22. return productCode;
  23. }
  24. public void setProductCode(String productCode) {
  25. this.productCode = productCode;
  26. }
  27. public String getProductName() {
  28. return productName;
  29. }
  30. public void setProductName(String productName) {
  31. this.productName = productName;
  32. }
  33. public String getPackSize() {
  34. return packSize;
  35. }
  36. public void setPackSize(String packSize) {
  37. this.packSize = packSize;
  38. }
  39. public Double getUnitTp() {
  40. return unitTp;
  41. }
  42. public void setUnitTp(Double unitTp) {
  43. this.unitTp = unitTp;
  44. }
  45. public Double getUnitVat() {
  46. return unitVat;
  47. }
  48. public void setUnitVat(Double unitVat) {
  49. this.unitVat = unitVat;
  50. }
  51. public int getQty() {
  52. return qty;
  53. }
  54. public void setQty(int qty) {
  55. this.qty = qty;
  56. }
  57. private String orderId;
  58. private String productCode;
  59. private String productName;
  60. private String packSize;
  61. private Double unitTp;
  62. private Double unitVat;
  63. private int qty;
  64.  
  65.  
  66. public void incrementQuantity() {
  67.  
  68. qty++;
  69.  
  70. }
  71.  
  72. public void decrementQuantity() {
  73.  
  74. qty--;
  75.  
  76. }
  77.  
  78. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement