
tsg.ns.wsdl.coop.CustomerPaymentPaymentOperation Maven / Gradle / Ivy
package tsg.ns.wsdl.coop;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for CustomerPaymentPaymentOperation.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="CustomerPaymentPaymentOperation">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="_authorization"/>
* <enumeration value="_capture"/>
* <enumeration value="_sale"/>
* <enumeration value="_refund"/>
* <enumeration value="_credit"/>
* <enumeration value="_refresh"/>
* <enumeration value="_void"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "CustomerPaymentPaymentOperation", namespace = "urn:types.customers_2023_1.transactions.webservices.netsuite.com")
@XmlEnum
public enum CustomerPaymentPaymentOperation {
@XmlEnumValue("_authorization")
AUTHORIZATION("_authorization"),
@XmlEnumValue("_capture")
CAPTURE("_capture"),
@XmlEnumValue("_sale")
SALE("_sale"),
@XmlEnumValue("_refund")
REFUND("_refund"),
@XmlEnumValue("_credit")
CREDIT("_credit"),
@XmlEnumValue("_refresh")
REFRESH("_refresh"),
@XmlEnumValue("_void")
VOID("_void");
private final String value;
CustomerPaymentPaymentOperation(String v) {
value = v;
}
public String value() {
return value;
}
public static CustomerPaymentPaymentOperation fromValue(String v) {
for (CustomerPaymentPaymentOperation c: CustomerPaymentPaymentOperation.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy