Package com.adyen.model.tapi
Class TotalFilter
- java.lang.Object
-
- com.adyen.model.tapi.TotalFilter
-
public class TotalFilter extends Object
TotalFilter
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_OPERATOR_I_Dstatic StringJSON_PROPERTY_P_O_I_I_Dstatic StringJSON_PROPERTY_SALE_I_Dstatic StringJSON_PROPERTY_SHIFT_NUMBERstatic StringJSON_PROPERTY_TOTALS_GROUP_I_D
-
Constructor Summary
Constructors Constructor Description TotalFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this TotalFilter object is equal to o.static TotalFilterfromJson(String jsonString)Create an instance of TotalFilter given an JSON stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetOperatorID()Identification of the Cashier or Operator.StringgetPOIID()Identification of a POI System or a POI Terminal for the Sale to POI protocol.StringgetSaleID()Identification of a Sale System or a Sale Terminal for the Sale to POI protocol.StringgetShiftNumber()Shift number.StringgetTotalsGroupID()Sent if totals in the response have to be computed only for this particular value of TotalsGroupID.inthashCode()TotalFilterincludeNullValues(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.TotalFilteroperatorID(String operatorID)Identification of the Cashier or Operator.TotalFilterPOIID(String POIID)Identification of a POI System or a POI Terminal for the Sale to POI protocol.TotalFiltersaleID(String saleID)Identification of a Sale System or a Sale Terminal for the Sale to POI protocol.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetOperatorID(String operatorID)Identification of the Cashier or Operator.voidsetPOIID(String POIID)Identification of a POI System or a POI Terminal for the Sale to POI protocol.voidsetSaleID(String saleID)Identification of a Sale System or a Sale Terminal for the Sale to POI protocol.voidsetShiftNumber(String shiftNumber)Shift number.voidsetTotalsGroupID(String totalsGroupID)Sent if totals in the response have to be computed only for this particular value of TotalsGroupID.TotalFiltershiftNumber(String shiftNumber)Shift number.StringtoJson()Convert an instance of TotalFilter to an JSON stringStringtoString()TotalFiltertotalsGroupID(String totalsGroupID)Sent if totals in the response have to be computed only for this particular value of TotalsGroupID.
-
-
-
Field Detail
-
JSON_PROPERTY_P_O_I_I_D
public static final String JSON_PROPERTY_P_O_I_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SALE_I_D
public static final String JSON_PROPERTY_SALE_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPERATOR_I_D
public static final String JSON_PROPERTY_OPERATOR_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHIFT_NUMBER
public static final String JSON_PROPERTY_SHIFT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOTALS_GROUP_I_D
public static final String JSON_PROPERTY_TOTALS_GROUP_I_D
- See Also:
- Constant Field Values
-
-
Method Detail
-
POIID
public TotalFilter POIID(String POIID)
Identification of a POI System or a POI Terminal for the Sale to POI protocol.- Parameters:
POIID- Identification of a POI System or a POI Terminal for the Sale to POI protocol.- Returns:
- the current
TotalFilterinstance, allowing for method chaining
-
getPOIID
public String getPOIID()
Identification of a POI System or a POI Terminal for the Sale to POI protocol.- Returns:
- POIID Identification of a POI System or a POI Terminal for the Sale to POI protocol.
-
setPOIID
public void setPOIID(String POIID)
Identification of a POI System or a POI Terminal for the Sale to POI protocol.- Parameters:
POIID- Identification of a POI System or a POI Terminal for the Sale to POI protocol.
-
saleID
public TotalFilter saleID(String saleID)
Identification of a Sale System or a Sale Terminal for the Sale to POI protocol.- Parameters:
saleID- Identification of a Sale System or a Sale Terminal for the Sale to POI protocol.- Returns:
- the current
TotalFilterinstance, allowing for method chaining
-
getSaleID
public String getSaleID()
Identification of a Sale System or a Sale Terminal for the Sale to POI protocol.- Returns:
- saleID Identification of a Sale System or a Sale Terminal for the Sale to POI protocol.
-
setSaleID
public void setSaleID(String saleID)
Identification of a Sale System or a Sale Terminal for the Sale to POI protocol.- Parameters:
saleID- Identification of a Sale System or a Sale Terminal for the Sale to POI protocol.
-
operatorID
public TotalFilter operatorID(String operatorID)
Identification of the Cashier or Operator.- Parameters:
operatorID- Identification of the Cashier or Operator.- Returns:
- the current
TotalFilterinstance, allowing for method chaining
-
getOperatorID
public String getOperatorID()
Identification of the Cashier or Operator.- Returns:
- operatorID Identification of the Cashier or Operator.
-
setOperatorID
public void setOperatorID(String operatorID)
Identification of the Cashier or Operator.- Parameters:
operatorID- Identification of the Cashier or Operator.
-
shiftNumber
public TotalFilter shiftNumber(String shiftNumber)
Shift number.- Parameters:
shiftNumber- Shift number.- Returns:
- the current
TotalFilterinstance, allowing for method chaining
-
getShiftNumber
public String getShiftNumber()
Shift number.- Returns:
- shiftNumber Shift number.
-
setShiftNumber
public void setShiftNumber(String shiftNumber)
Shift number.- Parameters:
shiftNumber- Shift number.
-
totalsGroupID
public TotalFilter totalsGroupID(String totalsGroupID)
Sent if totals in the response have to be computed only for this particular value of TotalsGroupID.- Parameters:
totalsGroupID- Sent if totals in the response have to be computed only for this particular value of TotalsGroupID.- Returns:
- the current
TotalFilterinstance, allowing for method chaining
-
getTotalsGroupID
public String getTotalsGroupID()
Sent if totals in the response have to be computed only for this particular value of TotalsGroupID.- Returns:
- totalsGroupID Sent if totals in the response have to be computed only for this particular value of TotalsGroupID.
-
setTotalsGroupID
public void setTotalsGroupID(String totalsGroupID)
Sent if totals in the response have to be computed only for this particular value of TotalsGroupID.- Parameters:
totalsGroupID- Sent if totals in the response have to be computed only for this particular value of TotalsGroupID.
-
includeNullValues
public TotalFilter 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 TotalFilter 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 TotalFilter fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TotalFilter given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TotalFilter
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TotalFilter
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TotalFilter to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-