Subversion Repositories SmartDukaan

Rev

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

Rev 22244 Rev 22858
Line 1... Line 1...
1
package com.spice.profitmandi.web.request;
1
package com.spice.profitmandi.common.model;
2
 
2
 
3
import java.util.Set;
3
import java.util.Set;
4
 
4
 
5
import com.spice.profitmandi.common.model.CustomCustomer;
-
 
6
import com.spice.profitmandi.common.model.CustomFofoLineItem;
-
 
7
 
-
 
8
public class CreateOrderRequest {
5
public class CreateOrderRequest {
9
	private CustomCustomer customer;
6
	private CustomCustomer customer;
10
	private String customerDateOfBirth;
7
	private String customerDateOfBirth;
11
	private Set<CustomFofoLineItem> fofoLineItems;
8
	private Set<CustomFofoOrderItem> fofoOrderItems;
12
	private Set<CustomPaymentOption> paymentOptions;
9
	private Set<CustomPaymentOption> paymentOptions;
13
	public void setCustomer(CustomCustomer customer) {
10
	public void setCustomer(CustomCustomer customer) {
14
		this.customer = customer;
11
		this.customer = customer;
15
	}
12
	}
16
	public CustomCustomer getCustomer() {
13
	public CustomCustomer getCustomer() {
Line 21... Line 18...
21
	}
18
	}
22
	public String getCustomerDateOfBirth() {
19
	public String getCustomerDateOfBirth() {
23
		return customerDateOfBirth;
20
		return customerDateOfBirth;
24
	}
21
	}
25
	
22
	
26
	public Set<CustomFofoLineItem> getFofoLineItems() {
23
	public Set<CustomFofoOrderItem> getFofoOrderItems() {
27
		return fofoLineItems;
24
		return fofoOrderItems;
28
	}
25
	}
29
	public void setFofoLineItems(Set<CustomFofoLineItem> fofoLineItems) {
26
	public void setFofoOrderItems(Set<CustomFofoOrderItem> fofoLineItems) {
30
		this.fofoLineItems = fofoLineItems;
27
		this.fofoOrderItems = fofoLineItems;
31
	}
28
	}
32
	public Set<CustomPaymentOption> getPaymentOptions() {
29
	public Set<CustomPaymentOption> getPaymentOptions() {
33
		return paymentOptions;
30
		return paymentOptions;
34
	}
31
	}
35
	public void setPaymentOptions(Set<CustomPaymentOption> paymentOptions) {
32
	public void setPaymentOptions(Set<CustomPaymentOption> paymentOptions) {
36
		this.paymentOptions = paymentOptions;
33
		this.paymentOptions = paymentOptions;
37
	}
34
	}
38
	@Override
35
	@Override
39
	public String toString() {
36
	public String toString() {
40
		return "CustomOrderRequest [customer=" + customer + ", fofoLineItems="
37
		return "CustomOrderRequest [customer=" + customer + ", fofoOrderItems="
41
				+ fofoLineItems + ", paymentOptions=" + paymentOptions + "]";
38
				+ fofoOrderItems + ", paymentOptions=" + paymentOptions + "]";
42
	}
39
	}
43
	
40
	
44
}
41
}