forked from AuthorizeNet/sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEmailReceipt.java
More file actions
103 lines (85 loc) · 2.09 KB
/
EmailReceipt.java
File metadata and controls
103 lines (85 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
package net.authorize.data;
import java.io.Serializable;
/**
* Merchants can opt to send a payment gateway generated email receipt to
* customers who provide an email address with their transaction.
*
* The email receipt includes a summary and results of the transaction.
*/
public class EmailReceipt implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
public static final int MAX_EMAIL_LENGTH = 255;
private String email;
private boolean emailCustomer = false;
private String headerEmailReceipt;
private String footerEmailReceipt;
private String merchantEmail;
private EmailReceipt() { }
public static EmailReceipt createEmailReceipt() {
return new EmailReceipt();
}
/**
* @return the email
*/
public String getEmail() {
return email;
}
/**
* @param email the email to set
*/
public void setEmail(String email) {
this.email = email;
}
/**
* @return the emailCustomer
*/
public boolean isEmailCustomer() {
return emailCustomer;
}
/**
* @param emailCustomer the emailCustomer to set
*/
public void setEmailCustomer(boolean emailCustomer) {
this.emailCustomer = emailCustomer;
}
/**
* @return the headerEmailReceipt
*/
public String getHeaderEmailReceipt() {
return headerEmailReceipt;
}
/**
* @param headerEmailReceipt the headerEmailReceipt to set
*/
public void setHeaderEmailReceipt(String headerEmailReceipt) {
this.headerEmailReceipt = headerEmailReceipt;
}
/**
* @return the footerEmailReceipt
*/
public String getFooterEmailReceipt() {
return footerEmailReceipt;
}
/**
* @param footerEmailReceipt the footerEmailReceipt to set
*/
public void setFooterEmailReceipt(String footerEmailReceipt) {
this.footerEmailReceipt = footerEmailReceipt;
}
/**
* @return the merchantEmail
*/
public String getMerchantEmail() {
return merchantEmail;
}
/**
*
* @param merchantEmail
*/
public void setMerchantEmail(String merchantEmail) {
this.merchantEmail = merchantEmail;
}
}