Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class InsuranceRequest {
- private String id;
- private InsuranceDetails details;
- private CustomerDetails customerDetails;
- private Date expiresOn;
- private Date generatedAt;
- // Getters and Setters ...
- }
- public class CustomerDetails {
- private String identifier;
- private String firstName;
- private String lastName;
- // Getters and Setters ...
- }
- public class InsuranceDetails {
- private String title;
- private List<Product> products;
- private double total;
- // Getters and Setters ...
- }
- public class Product {
- private String id;
- private String description;
- private double price;
- // Getters and Setters ...
- }
Add Comment
Please, Sign In to add comment