net.authorize.api.contract.v1.TransactionStatusEnum Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.06.13 at 02:31:45 PM IST
//
package net.authorize.api.contract.v1;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for transactionStatusEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="transactionStatusEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="authorizedPendingCapture"/>
* <enumeration value="capturedPendingSettlement"/>
* <enumeration value="communicationError"/>
* <enumeration value="refundSettledSuccessfully"/>
* <enumeration value="refundPendingSettlement"/>
* <enumeration value="approvedReview"/>
* <enumeration value="declined"/>
* <enumeration value="couldNotVoid"/>
* <enumeration value="expired"/>
* <enumeration value="generalError"/>
* <enumeration value="pendingFinalSettlement"/>
* <enumeration value="pendingSettlement"/>
* <enumeration value="failedReview"/>
* <enumeration value="settledSuccessfully"/>
* <enumeration value="settlementError"/>
* <enumeration value="underReview"/>
* <enumeration value="updatingSettlement"/>
* <enumeration value="voided"/>
* <enumeration value="FDSPendingReview"/>
* <enumeration value="FDSAuthorizedPendingReview"/>
* <enumeration value="returnedItem"/>
* <enumeration value="chargeback"/>
* <enumeration value="chargebackReversal"/>
* <enumeration value="authorizedPendingRelease"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "transactionStatusEnum")
@XmlEnum
public enum TransactionStatusEnum {
@XmlEnumValue("authorizedPendingCapture")
AUTHORIZED_PENDING_CAPTURE("authorizedPendingCapture"),
@XmlEnumValue("capturedPendingSettlement")
CAPTURED_PENDING_SETTLEMENT("capturedPendingSettlement"),
@XmlEnumValue("communicationError")
COMMUNICATION_ERROR("communicationError"),
@XmlEnumValue("refundSettledSuccessfully")
REFUND_SETTLED_SUCCESSFULLY("refundSettledSuccessfully"),
@XmlEnumValue("refundPendingSettlement")
REFUND_PENDING_SETTLEMENT("refundPendingSettlement"),
@XmlEnumValue("approvedReview")
APPROVED_REVIEW("approvedReview"),
@XmlEnumValue("declined")
DECLINED("declined"),
@XmlEnumValue("couldNotVoid")
COULD_NOT_VOID("couldNotVoid"),
@XmlEnumValue("expired")
EXPIRED("expired"),
@XmlEnumValue("generalError")
GENERAL_ERROR("generalError"),
@XmlEnumValue("pendingFinalSettlement")
PENDING_FINAL_SETTLEMENT("pendingFinalSettlement"),
@XmlEnumValue("pendingSettlement")
PENDING_SETTLEMENT("pendingSettlement"),
@XmlEnumValue("failedReview")
FAILED_REVIEW("failedReview"),
@XmlEnumValue("settledSuccessfully")
SETTLED_SUCCESSFULLY("settledSuccessfully"),
@XmlEnumValue("settlementError")
SETTLEMENT_ERROR("settlementError"),
@XmlEnumValue("underReview")
UNDER_REVIEW("underReview"),
@XmlEnumValue("updatingSettlement")
UPDATING_SETTLEMENT("updatingSettlement"),
@XmlEnumValue("voided")
VOIDED("voided"),
@XmlEnumValue("FDSPendingReview")
FDS_PENDING_REVIEW("FDSPendingReview"),
@XmlEnumValue("FDSAuthorizedPendingReview")
FDS_AUTHORIZED_PENDING_REVIEW("FDSAuthorizedPendingReview"),
@XmlEnumValue("returnedItem")
RETURNED_ITEM("returnedItem"),
@XmlEnumValue("chargeback")
CHARGEBACK("chargeback"),
@XmlEnumValue("chargebackReversal")
CHARGEBACK_REVERSAL("chargebackReversal"),
@XmlEnumValue("authorizedPendingRelease")
AUTHORIZED_PENDING_RELEASE("authorizedPendingRelease");
private final String value;
TransactionStatusEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static TransactionStatusEnum fromValue(String v) {
for (TransactionStatusEnum c: TransactionStatusEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}