| | |
| | | public static class ScenicOption { |
| | | private final Long id; |
| | | private final String name; |
| | | private final Integer firstOrderLeadMinutes; |
| | | private final List<MeetingPointOption> meetingPoints; |
| | | private final List<ServiceOption> services; |
| | | public ScenicOption(Long id, String name, List<MeetingPointOption> meetingPoints, List<ServiceOption> services) { |
| | | this.id = id; this.name = name; this.meetingPoints = meetingPoints; this.services = services; |
| | | public ScenicOption(Long id, String name, Integer firstOrderLeadMinutes, |
| | | List<MeetingPointOption> meetingPoints, List<ServiceOption> services) { |
| | | this.id = id; this.name = name; this.firstOrderLeadMinutes = firstOrderLeadMinutes; |
| | | this.meetingPoints = meetingPoints; this.services = services; |
| | | } |
| | | public Long getId() { return id; } |
| | | public String getName() { return name; } |
| | | public Integer getFirstOrderLeadMinutes() { return firstOrderLeadMinutes; } |
| | | public List<MeetingPointOption> getMeetingPoints() { return meetingPoints; } |
| | | public List<ServiceOption> getServices() { return services; } |
| | | } |
| | |
| | | private final Integer durationMinutes; |
| | | private final Integer minParticipants; |
| | | private final Integer maxParticipants; |
| | | private final BigDecimal originalPrice; |
| | | private final BigDecimal discountPrice; |
| | | public ServiceOption(Long id, String serviceType, Integer durationMinutes, |
| | | Integer minParticipants, Integer maxParticipants) { |
| | | Integer minParticipants, Integer maxParticipants, |
| | | BigDecimal originalPrice, BigDecimal discountPrice) { |
| | | this.id = id; this.serviceType = serviceType; this.durationMinutes = durationMinutes; |
| | | this.minParticipants = minParticipants; this.maxParticipants = maxParticipants; |
| | | this.originalPrice = originalPrice; this.discountPrice = discountPrice; |
| | | } |
| | | public Long getId() { return id; } |
| | | public String getServiceType() { return serviceType; } |
| | | public Integer getDurationMinutes() { return durationMinutes; } |
| | | public Integer getMinParticipants() { return minParticipants; } |
| | | public Integer getMaxParticipants() { return maxParticipants; } |
| | | public BigDecimal getOriginalPrice() { return originalPrice; } |
| | | public BigDecimal getDiscountPrice() { return discountPrice; } |
| | | } |
| | | } |