com.global.api.entities.enums.DebugLogsOutput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of globalpayments-sdk Show documentation
Show all versions of globalpayments-sdk Show documentation
API for processing payments through Global Payments
package com.global.api.entities.enums;
public enum DebugLogsOutput {
CONSOLE(0),
FILE(1);
private final int value;
private DebugLogsOutput(int value) {
this.value = value;
}
public int getValue() {
return value;
}
public static DebugLogsOutput fromValue(int value) {
for (DebugLogsOutput logsOutput : DebugLogsOutput.values()) {
if (logsOutput.value == value) {
return logsOutput;
}
}
throw new IllegalArgumentException("No DebugLevel Found: " + value);
}
@Override
public String toString() {
return name().toLowerCase();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy