Subversion Repositories SmartDukaan

Rev

Rev 23417 | Rev 24440 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23417 Rev 24143
Line 1... Line 1...
1
package com.spice.profitmandi.common.model;
1
package com.spice.profitmandi.common.model;
2
 
2
 
-
 
3
import java.time.LocalDate;
3
import java.util.Set;
4
import java.util.Set;
4
 
5
 
5
public class CreateOrderRequest {
6
public class CreateOrderRequest {
6
	private CustomCustomer customer;
7
	private CustomCustomer customer;
7
	private String customerDateOfBirth;
8
	private LocalDate customerDateOfBirth;
8
	private Set<CustomFofoOrderItem> fofoOrderItems;
9
	private Set<CustomFofoOrderItem> fofoOrderItems;
9
	private Set<CustomPaymentOption> paymentOptions;
10
	private Set<CustomPaymentOption> paymentOptions;
10
	public void setCustomer(CustomCustomer customer) {
11
	public void setCustomer(CustomCustomer customer) {
11
		this.customer = customer;
12
		this.customer = customer;
12
	}
13
	}
13
	public CustomCustomer getCustomer() {
14
	public CustomCustomer getCustomer() {
14
		return customer;
15
		return customer;
15
	}
16
	}
16
	public void setCustomerDateOfBirth(String customerDateOfBirth) {
17
	public void setCustomerDateOfBirth(LocalDate customerDateOfBirth) {
17
		this.customerDateOfBirth = customerDateOfBirth;
18
		this.customerDateOfBirth = customerDateOfBirth;
18
	}
19
	}
19
	public String getCustomerDateOfBirth() {
20
	public LocalDate getCustomerDateOfBirth() {
20
		return customerDateOfBirth;
21
		return customerDateOfBirth;
21
	}
22
	}
22
	
23
	
23
	public Set<CustomFofoOrderItem> getFofoOrderItems() {
24
	public Set<CustomFofoOrderItem> getFofoOrderItems() {
24
		return fofoOrderItems;
25
		return fofoOrderItems;