Guest User

JavaClass

a guest
Oct 13th, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.67 KB | None | 0 0
  1. public class Example {
  2.  
  3. @SerializedName("AWBNo")
  4. @Expose
  5. private String aWBNo;
  6. @SerializedName("AuthKey")
  7. @Expose
  8. private String authKey;
  9. @SerializedName("OrderNo")
  10. @Expose
  11. private String orderNo;
  12. @SerializedName("ReturnMessage")
  13. @Expose
  14. private String returnMessage;
  15. @SerializedName("ShipmentSummary")
  16. @Expose
  17. private List<ShipmentSummary> shipmentSummary = null;
  18.  
  19. public String getAWBNo() {
  20. return aWBNo;
  21. }
  22.  
  23. public void setAWBNo(String aWBNo) {
  24. this.aWBNo = aWBNo;
  25. }
  26.  
  27. public String getAuthKey() {
  28. return authKey;
  29. }
  30.  
  31. public void setAuthKey(String authKey) {
  32. this.authKey = authKey;
  33. }
  34.  
  35. public String getOrderNo() {
  36. return orderNo;
  37. }
  38.  
  39. public void setOrderNo(String orderNo) {
  40. this.orderNo = orderNo;
  41. }
  42.  
  43. public String getReturnMessage() {
  44. return returnMessage;
  45. }
  46.  
  47. public void setReturnMessage(String returnMessage) {
  48. this.returnMessage = returnMessage;
  49. }
  50.  
  51. public List<ShipmentSummary> getShipmentSummary() {
  52. return shipmentSummary;
  53. }
  54.  
  55. public void setShipmentSummary(List<ShipmentSummary> shipmentSummary) {
  56. this.shipmentSummary = shipmentSummary;
  57. }
  58.  
  59.  
  60. public class ShipmentSummary {
  61.  
  62. @SerializedName("PickUpDate")
  63. @Expose
  64. private String pickUpDate;
  65. @SerializedName("PickUpTime")
  66. @Expose
  67. private String pickUpTime;
  68. @SerializedName("OriginLocation")
  69. @Expose
  70. private String originLocation;
  71. @SerializedName("DestinationLocation")
  72. @Expose
  73. private String destinationLocation;
  74. @SerializedName("Weight")
  75. @Expose
  76. private String weight;
  77. @SerializedName("ExpectedDeliveryDate")
  78. @Expose
  79. private String expectedDeliveryDate;
  80. @SerializedName("Status")
  81. @Expose
  82. private String status;
  83. @SerializedName("StatusCode")
  84. @Expose
  85. private String statusCode;
  86. @SerializedName("StatusDate")
  87. @Expose
  88. private String statusDate;
  89. @SerializedName("StatusTime")
  90. @Expose
  91. private String statusTime;
  92. @SerializedName("Location")
  93. @Expose
  94. private String location;
  95. @SerializedName("Comment")
  96. @Expose
  97. private String comment;
  98.  
  99. public String getPickUpDate() {
  100. return pickUpDate;
  101. }
  102.  
  103. public void setPickUpDate(String pickUpDate) {
  104. this.pickUpDate = pickUpDate;
  105. }
  106.  
  107. public String getPickUpTime() {
  108. return pickUpTime;
  109. }
  110.  
  111. public void setPickUpTime(String pickUpTime) {
  112. this.pickUpTime = pickUpTime;
  113. }
  114.  
  115. public String getOriginLocation() {
  116. return originLocation;
  117. }
  118.  
  119. public void setOriginLocation(String originLocation) {
  120. this.originLocation = originLocation;
  121. }
  122.  
  123. public String getDestinationLocation() {
  124. return destinationLocation;
  125. }
  126.  
  127. public void setDestinationLocation(String destinationLocation) {
  128. this.destinationLocation = destinationLocation;
  129. }
  130.  
  131. public String getWeight() {
  132. return weight;
  133. }
  134.  
  135. public void setWeight(String weight) {
  136. this.weight = weight;
  137. }
  138.  
  139. public String getExpectedDeliveryDate() {
  140. return expectedDeliveryDate;
  141. }
  142.  
  143. public void setExpectedDeliveryDate(String expectedDeliveryDate) {
  144. this.expectedDeliveryDate = expectedDeliveryDate;
  145. }
  146.  
  147. public String getStatus() {
  148. return status;
  149. }
  150.  
  151. public void setStatus(String status) {
  152. this.status = status;
  153. }
  154.  
  155. public String getStatusCode() {
  156. return statusCode;
  157. }
  158.  
  159. public void setStatusCode(String statusCode) {
  160. this.statusCode = statusCode;
  161. }
  162.  
  163. public String getStatusDate() {
  164. return statusDate;
  165. }
  166.  
  167. public void setStatusDate(String statusDate) {
  168. this.statusDate = statusDate;
  169. }
  170.  
  171. public String getStatusTime() {
  172. return statusTime;
  173. }
  174.  
  175. public void setStatusTime(String statusTime) {
  176. this.statusTime = statusTime;
  177. }
  178.  
  179. public String getLocation() {
  180. return location;
  181. }
  182.  
  183. public void setLocation(String location) {
  184. this.location = location;
  185. }
  186.  
  187. public String getComment() {
  188. return comment;
  189. }
  190.  
  191. public void setComment(String comment) {
  192. this.comment = comment;
  193. }
  194.  
  195. }
  196.  
  197. }
Add Comment
Please, Sign In to add comment