1 | public class Customer implements Serializable {↵ | | 1 | public class Customer implements Serializable {↵
|
|
2 | private String name;↵ | | 2 | private String name;↵
|
3 | private String customerId;↵ | | 3 | private String customerId;↵
|
4 | private Address billingAddress;↵ | | 4 | private Address billingAddress;↵
|
5 | private Address shippingAddress;↵ | | 5 | private Address shippingAddress;↵
|
|
6 | public Address getBillingAddress() {↵ | | 6 | public Address getBillingAddress() {↵
|
7 | return billingAddress;↵ | | 7 | return billingAddress;↵
|
8 | }↵ | | 8 | }↵
|
9 | public void setBillingAddress(Address billingAddress) {↵ | | 9 | public void setBillingAddress(Address billingAddress) {↵
|
10 | this.billingAddress = billingAddress;↵ | | 10 | this.billingAddress = billingAddress;↵
|
11 | }↵ | | 11 | }↵
|
12 | public String getCustomerId() {↵ | | 12 | public String getCustomerId() {↵
|
13 | return customerId;↵ | | 13 | return customerId;↵
|
14 | }↵ | | 14 | }↵
|
15 | public void setCustomerId(String customerId) {↵ | | 15 | public void setCustomerId(String customerId) {↵
|
16 | this.customerId = customerId;↵ | | 16 | this.customerId = customerId;↵
|
17 | }↵ | | 17 | }↵
|
18 | public String getName() {↵ | | 18 | public String getName() {↵
|
19 | return name;↵ | | 19 | return name;↵
|
20 | }↵ | | 20 | }↵
|
21 | public void setName(String name) {↵ | | 21 | public void setName(String name) {↵
|
22 | this.name = name;↵ | | 22 | this.name = name;↵
|
23 | }↵ | | 23 | }↵
|
24 | public Address getShippingAddress() {↵ | | 24 | public Address getShippingAddress() {↵
|
25 | return shippingAddress;↵ | | 25 | return shippingAddress;↵
|
26 | }↵ | | 26 | }↵
|
27 | public void setShippingAddress(Address shippingAddress) {↵ | | 27 | public void setShippingAddress(Address shippingAddress) {↵
|
28 | this.shippingAddress = shippingAddress;↵ | | 28 | this.shippingAddress = shippingAddress;↵
|
29 | | | 29 |
|