Done ticket GEPAFINBE-205 Handled the old and new vatCheck company json through versioning.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package net.gepafin.tendermanagement.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
||||
public enum VatCheckVersionTypeEnum {
|
||||
V1("V1"),
|
||||
V2("V2");
|
||||
private String value;
|
||||
|
||||
VatCheckVersionTypeEnum(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@JsonValue
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user