Package com.adyen.model.management
Class OfflineProcessing
- java.lang.Object
-
- com.adyen.model.management.OfflineProcessing
-
public class OfflineProcessing extends Object
OfflineProcessing
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CHIP_FLOOR_LIMITstatic StringJSON_PROPERTY_OFFLINE_SWIPE_LIMITS
-
Constructor Summary
Constructors Constructor Description OfflineProcessing()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OfflineProcessingaddOfflineSwipeLimitsItem(MinorUnitsMonetaryValue offlineSwipeLimitsItem)OfflineProcessingchipFloorLimit(Integer chipFloorLimit)The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes).booleanequals(Object o)Return true if this OfflineProcessing object is equal to o.static OfflineProcessingfromJson(String jsonString)Create an instance of OfflineProcessing given an JSON stringIntegergetChipFloorLimit()The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes).Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.List<MinorUnitsMonetaryValue>getOfflineSwipeLimits()The maximum offline transaction amount for swiped cards, in the specified currency.inthashCode()OfflineProcessingincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.OfflineProcessingofflineSwipeLimits(List<MinorUnitsMonetaryValue> offlineSwipeLimits)The maximum offline transaction amount for swiped cards, in the specified currency.voidsetChipFloorLimit(Integer chipFloorLimit)The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes).voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetOfflineSwipeLimits(List<MinorUnitsMonetaryValue> offlineSwipeLimits)The maximum offline transaction amount for swiped cards, in the specified currency.StringtoJson()Convert an instance of OfflineProcessing to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CHIP_FLOOR_LIMIT
public static final String JSON_PROPERTY_CHIP_FLOOR_LIMIT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OFFLINE_SWIPE_LIMITS
public static final String JSON_PROPERTY_OFFLINE_SWIPE_LIMITS
- See Also:
- Constant Field Values
-
-
Method Detail
-
chipFloorLimit
public OfflineProcessing chipFloorLimit(Integer chipFloorLimit)
The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes).- Parameters:
chipFloorLimit- The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes).- Returns:
- the current
OfflineProcessinginstance, allowing for method chaining
-
getChipFloorLimit
public Integer getChipFloorLimit()
The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes).- Returns:
- chipFloorLimit The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes).
-
setChipFloorLimit
public void setChipFloorLimit(Integer chipFloorLimit)
The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes).- Parameters:
chipFloorLimit- The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes).
-
offlineSwipeLimits
public OfflineProcessing offlineSwipeLimits(List<MinorUnitsMonetaryValue> offlineSwipeLimits)
The maximum offline transaction amount for swiped cards, in the specified currency.- Parameters:
offlineSwipeLimits- The maximum offline transaction amount for swiped cards, in the specified currency.- Returns:
- the current
OfflineProcessinginstance, allowing for method chaining
-
addOfflineSwipeLimitsItem
public OfflineProcessing addOfflineSwipeLimitsItem(MinorUnitsMonetaryValue offlineSwipeLimitsItem)
-
getOfflineSwipeLimits
public List<MinorUnitsMonetaryValue> getOfflineSwipeLimits()
The maximum offline transaction amount for swiped cards, in the specified currency.- Returns:
- offlineSwipeLimits The maximum offline transaction amount for swiped cards, in the specified currency.
-
setOfflineSwipeLimits
public void setOfflineSwipeLimits(List<MinorUnitsMonetaryValue> offlineSwipeLimits)
The maximum offline transaction amount for swiped cards, in the specified currency.- Parameters:
offlineSwipeLimits- The maximum offline transaction amount for swiped cards, in the specified currency.
-
includeNullValues
public OfflineProcessing includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this OfflineProcessing object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static OfflineProcessing fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of OfflineProcessing given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OfflineProcessing
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to OfflineProcessing
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of OfflineProcessing to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-