forked from magento/magento2-phpstorm-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEmailTemplatesXmlData.java
96 lines (87 loc) · 1.9 KB
/
EmailTemplatesXmlData.java
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
/*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
package com.magento.idea.magento2plugin.actions.generation.data;
@SuppressWarnings({"PMD.DataClass"})
public class EmailTemplatesXmlData {
private final String module;
private final String emailTemplateId;
private final String label;
private final String templateFileName;
private final String type;
private final String area;
/**
* Email templates data constructor.
*
* @param module String
* @param emailTemplateId String
* @param label String
* @param templateFileName String
* @param type String
* @param area String
*/
public EmailTemplatesXmlData(
final String module,
final String emailTemplateId,
final String label,
final String templateFileName,
final String type,
final String area
) {
this.module = module;
this.emailTemplateId = emailTemplateId;
this.label = label;
this.templateFileName = templateFileName;
this.type = type;
this.area = area;
}
/**
* Get template file name.
*
* @return String
*/
public String getTemplateFileName() {
return templateFileName;
}
/**
* Get ID.
*
* @return String
*/
public String getId() {
return emailTemplateId;
}
/**
* Get label.
*
* @return String
*/
public String getLabel() {
return label;
}
/**
* Get module.
*
* @return String
*/
public String getModule() {
return module;
}
/**
* Get type.
*
* @return String
*/
public String getType() {
return type;
}
/**
* Get area.
*
* @return String
*/
public String getArea() {
return area;
}
}