com.global.api.entities.enums.Channel 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 Channel implements IStringConstant {
Ecom("ECOM"),
CardPresent("CP"),
CardNotPresent("CNP");
private String value;
Channel(String value) {
this.value = value;
}
public String getValue() {
return this.value;
}
public byte[] getBytes() {
return this.value.getBytes();
}
public static Channel fromString(String value) {
for (Channel currentEnum : Channel.values()) {
if (currentEnum.getValue().equalsIgnoreCase(value)) {
return currentEnum;
}
}
return null;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy