package sizebay.catalog.client.model;

import lombok.NoArgsConstructor;

@NoArgsConstructor
public enum SizeSystem {

	AU, BR, CN, DE, EU, FR,
	IT, JP, MEX, UK, US, ZH, AR;

	public static SizeSystem from(String value) {
		try {
			if(value == null || value.isEmpty()) {
				return null;
			}

			return SizeSystem.valueOf(value.toUpperCase());
		} catch (Throwable e) {
			throw new IllegalArgumentException();
		}
	}

}

@@ -164,16 +164,24 @@
 , ZH, AR
+, CUSTOM
 ;%0A%0A%09publ

add sizeSystem CUSTOM