public class EnhancedVariantHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAIN_SEGMENT_REGEX |
static java.lang.String |
PRIMARY_SEGMENT_REGEX |
static java.lang.String |
SECONDARY_SEGMENT_REGEX |
Constructor and Description |
---|
EnhancedVariantHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkVariantOptions(java.lang.String opt1,
java.lang.String opt2) |
static java.lang.String |
getVariantPriceEncodedOptionValues(boolean isBusiness,
OptionIf[] options)
This is used to get the encoded option values from the options array.
|
public static final java.lang.String MAIN_SEGMENT_REGEX
public static final java.lang.String PRIMARY_SEGMENT_REGEX
public static final java.lang.String SECONDARY_SEGMENT_REGEX
public static java.lang.String getVariantPriceEncodedOptionValues(boolean isBusiness, OptionIf[] options) throws com.konakart.app.KKException
isBusiness
- true if we're using business edition, false otherwise.options
- the optionscom.konakart.app.KKException
- unexpected KKException exceptionpublic static boolean checkVariantOptions(java.lang.String opt1, java.lang.String opt2)
Copyright © 2018 DS Data Systems UK Ltd.