Guest User

Untitled

a guest
Apr 21st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. public class InsuranceRequest {
  2.  
  3. private String id;
  4. private InsuranceDetails details;
  5. private CustomerDetails customerDetails;
  6. private Date expiresOn;
  7. private Date generatedAt;
  8.  
  9.  
  10. // Getters and Setters ...
  11.  
  12. }
  13.  
  14. public class CustomerDetails {
  15.  
  16. private String identifier;
  17. private String firstName;
  18. private String lastName;
  19.  
  20. // Getters and Setters ...
  21.  
  22. }
  23.  
  24. public class InsuranceDetails {
  25.  
  26. private String title;
  27. private List<Product> products;
  28. private double total;
  29.  
  30. // Getters and Setters ...
  31.  
  32. }
  33.  
  34. public class Product {
  35.  
  36. private String id;
  37. private String description;
  38. private double price;
  39.  
  40. // Getters and Setters ...
  41.  
  42. }
Add Comment
Please, Sign In to add comment