1 20 package org.objectweb.speedo.pobjects.basic; 21 22 import java.util.Collection ; 23 import java.util.Date ; 24 25 29 public class Order { 30 long id; 31 String userId; 32 float amount; 33 int authCode; 34 Date saleDateTime; 35 String ccLastDigits; 36 Collection orderLines; 37 38 public Order(long id) { 39 this.id = id; 40 } 41 42 public long getId() { 43 return id; 44 } 45 46 public String getUserId() { 47 return userId; 48 } 49 50 public void setUserId(String userId) { 51 this.userId = userId; 52 } 53 54 public float getAmount() { 55 return amount; 56 } 57 58 public void setAmount(float amount) { 59 this.amount = amount; 60 } 61 62 public int getAuthCode() { 63 return authCode; 64 } 65 66 public void setAuthCode(int authCode) { 67 this.authCode = authCode; 68 } 69 70 public Date getSaleDateTime() { 71 return saleDateTime; 72 } 73 74 public void setSaleDateTime(Date saleDateTime) { 75 this.saleDateTime = saleDateTime; 76 } 77 78 public String getCcLastDigits() { 79 return ccLastDigits; 80 } 81 82 public void setCcLastDigits(String ccLastDigits) { 83 this.ccLastDigits = ccLastDigits; 84 } 85 86 public Collection getOrderLines() { 87 return orderLines; 88 } 89 90 public void setOrderLines(Collection orderLines) { 91 this.orderLines = orderLines; 92 } 93 } 94 | Popular Tags |