-
Notifications
You must be signed in to change notification settings - Fork 156
Expand file tree
/
Copy pathAPCreditCardOperationEnum.java
More file actions
57 lines (47 loc) · 1.48 KB
/
APCreditCardOperationEnum.java
File metadata and controls
57 lines (47 loc) · 1.48 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
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.06.18 at 04:20:25 PM IST
//
package com.intuit.ipp.data;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* <p>Java class for APCreditCardOperationEnum.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <pre>
* <simpleType name="APCreditCardOperationEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Charge"/>
* <enumeration value="Credit"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "APCreditCardOperationEnum")
@XmlEnum
public enum APCreditCardOperationEnum {
@XmlEnumValue("Charge")
CHARGE("Charge"),
@XmlEnumValue("Credit")
CREDIT("Credit");
private final String value;
APCreditCardOperationEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static APCreditCardOperationEnum fromValue(String v) {
for (APCreditCardOperationEnum c: APCreditCardOperationEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}