Package com.adyen.model.balanceplatform
Class TransactionRuleRestrictions
- java.lang.Object
-
- com.adyen.model.balanceplatform.TransactionRuleRestrictions
-
public class TransactionRuleRestrictions extends Object
TransactionRuleRestrictions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransactionRuleRestrictions.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACTIVE_NETWORK_TOKENSstatic StringSERIALIZED_NAME_BRAND_VARIANTSstatic StringSERIALIZED_NAME_COUNTRIESstatic StringSERIALIZED_NAME_DAY_OF_WEEKstatic StringSERIALIZED_NAME_DIFFERENT_CURRENCIESstatic StringSERIALIZED_NAME_ENTRY_MODESstatic StringSERIALIZED_NAME_INTERNATIONAL_TRANSACTIONstatic StringSERIALIZED_NAME_MATCHING_TRANSACTIONSstatic StringSERIALIZED_NAME_MCCSstatic StringSERIALIZED_NAME_MERCHANT_NAMESstatic StringSERIALIZED_NAME_MERCHANTSstatic StringSERIALIZED_NAME_PROCESSING_TYPESstatic StringSERIALIZED_NAME_TIME_OF_DAYstatic StringSERIALIZED_NAME_TOTAL_AMOUNT
-
Constructor Summary
Constructors Constructor Description TransactionRuleRestrictions()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_ACTIVE_NETWORK_TOKENS
public static final String SERIALIZED_NAME_ACTIVE_NETWORK_TOKENS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BRAND_VARIANTS
public static final String SERIALIZED_NAME_BRAND_VARIANTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COUNTRIES
public static final String SERIALIZED_NAME_COUNTRIES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DAY_OF_WEEK
public static final String SERIALIZED_NAME_DAY_OF_WEEK
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DIFFERENT_CURRENCIES
public static final String SERIALIZED_NAME_DIFFERENT_CURRENCIES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENTRY_MODES
public static final String SERIALIZED_NAME_ENTRY_MODES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INTERNATIONAL_TRANSACTION
public static final String SERIALIZED_NAME_INTERNATIONAL_TRANSACTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MATCHING_TRANSACTIONS
public static final String SERIALIZED_NAME_MATCHING_TRANSACTIONS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MCCS
public static final String SERIALIZED_NAME_MCCS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT_NAMES
public static final String SERIALIZED_NAME_MERCHANT_NAMES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANTS
public static final String SERIALIZED_NAME_MERCHANTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESSING_TYPES
public static final String SERIALIZED_NAME_PROCESSING_TYPES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIME_OF_DAY
public static final String SERIALIZED_NAME_TIME_OF_DAY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOTAL_AMOUNT
public static final String SERIALIZED_NAME_TOTAL_AMOUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
activeNetworkTokens
public TransactionRuleRestrictions activeNetworkTokens(ActiveNetworkTokensRestriction activeNetworkTokens)
-
getActiveNetworkTokens
public ActiveNetworkTokensRestriction getActiveNetworkTokens()
Get activeNetworkTokens- Returns:
- activeNetworkTokens
-
setActiveNetworkTokens
public void setActiveNetworkTokens(ActiveNetworkTokensRestriction activeNetworkTokens)
-
brandVariants
public TransactionRuleRestrictions brandVariants(BrandVariantsRestriction brandVariants)
-
getBrandVariants
public BrandVariantsRestriction getBrandVariants()
Get brandVariants- Returns:
- brandVariants
-
setBrandVariants
public void setBrandVariants(BrandVariantsRestriction brandVariants)
-
countries
public TransactionRuleRestrictions countries(CountriesRestriction countries)
-
getCountries
public CountriesRestriction getCountries()
Get countries- Returns:
- countries
-
setCountries
public void setCountries(CountriesRestriction countries)
-
dayOfWeek
public TransactionRuleRestrictions dayOfWeek(DayOfWeekRestriction dayOfWeek)
-
getDayOfWeek
public DayOfWeekRestriction getDayOfWeek()
Get dayOfWeek- Returns:
- dayOfWeek
-
setDayOfWeek
public void setDayOfWeek(DayOfWeekRestriction dayOfWeek)
-
differentCurrencies
public TransactionRuleRestrictions differentCurrencies(DifferentCurrenciesRestriction differentCurrencies)
-
getDifferentCurrencies
public DifferentCurrenciesRestriction getDifferentCurrencies()
Get differentCurrencies- Returns:
- differentCurrencies
-
setDifferentCurrencies
public void setDifferentCurrencies(DifferentCurrenciesRestriction differentCurrencies)
-
entryModes
public TransactionRuleRestrictions entryModes(EntryModesRestriction entryModes)
-
getEntryModes
public EntryModesRestriction getEntryModes()
Get entryModes- Returns:
- entryModes
-
setEntryModes
public void setEntryModes(EntryModesRestriction entryModes)
-
internationalTransaction
public TransactionRuleRestrictions internationalTransaction(InternationalTransactionRestriction internationalTransaction)
-
getInternationalTransaction
public InternationalTransactionRestriction getInternationalTransaction()
Get internationalTransaction- Returns:
- internationalTransaction
-
setInternationalTransaction
public void setInternationalTransaction(InternationalTransactionRestriction internationalTransaction)
-
matchingTransactions
public TransactionRuleRestrictions matchingTransactions(MatchingTransactionsRestriction matchingTransactions)
-
getMatchingTransactions
public MatchingTransactionsRestriction getMatchingTransactions()
Get matchingTransactions- Returns:
- matchingTransactions
-
setMatchingTransactions
public void setMatchingTransactions(MatchingTransactionsRestriction matchingTransactions)
-
mccs
public TransactionRuleRestrictions mccs(MccsRestriction mccs)
-
getMccs
public MccsRestriction getMccs()
Get mccs- Returns:
- mccs
-
setMccs
public void setMccs(MccsRestriction mccs)
-
merchantNames
public TransactionRuleRestrictions merchantNames(MerchantNamesRestriction merchantNames)
-
getMerchantNames
public MerchantNamesRestriction getMerchantNames()
Get merchantNames- Returns:
- merchantNames
-
setMerchantNames
public void setMerchantNames(MerchantNamesRestriction merchantNames)
-
merchants
public TransactionRuleRestrictions merchants(MerchantsRestriction merchants)
-
getMerchants
public MerchantsRestriction getMerchants()
Get merchants- Returns:
- merchants
-
setMerchants
public void setMerchants(MerchantsRestriction merchants)
-
processingTypes
public TransactionRuleRestrictions processingTypes(ProcessingTypesRestriction processingTypes)
-
getProcessingTypes
public ProcessingTypesRestriction getProcessingTypes()
Get processingTypes- Returns:
- processingTypes
-
setProcessingTypes
public void setProcessingTypes(ProcessingTypesRestriction processingTypes)
-
timeOfDay
public TransactionRuleRestrictions timeOfDay(TimeOfDayRestriction timeOfDay)
-
getTimeOfDay
public TimeOfDayRestriction getTimeOfDay()
Get timeOfDay- Returns:
- timeOfDay
-
setTimeOfDay
public void setTimeOfDay(TimeOfDayRestriction timeOfDay)
-
totalAmount
public TransactionRuleRestrictions totalAmount(TotalAmountRestriction totalAmount)
-
getTotalAmount
public TotalAmountRestriction getTotalAmount()
Get totalAmount- Returns:
- totalAmount
-
setTotalAmount
public void setTotalAmount(TotalAmountRestriction totalAmount)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException- Throws:
IOException
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj, boolean strictValidation) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON ObjectstrictValidation- reject (new) fields missing from the specifications- Throws:
IOException- if the JSON Object is invalid with respect to TransactionRuleRestrictions
-
fromJson
public static TransactionRuleRestrictions fromJson(String jsonString) throws IOException
Create an instance of TransactionRuleRestrictions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransactionRuleRestrictions
- Throws:
IOException- if the JSON string is invalid with respect to TransactionRuleRestrictions
-
toJson
public String toJson()
Convert an instance of TransactionRuleRestrictions to an JSON string- Returns:
- JSON string
-
-