Package com.adyen.model.balanceplatform
Class TransactionRuleEntityKey
- java.lang.Object
-
- com.adyen.model.balanceplatform.TransactionRuleEntityKey
-
public class TransactionRuleEntityKey extends Object
TransactionRuleEntityKey
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ENTITY_REFERENCEstatic StringJSON_PROPERTY_ENTITY_TYPE
-
Constructor Summary
Constructors Constructor Description TransactionRuleEntityKey()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionRuleEntityKeyentityReference(String entityReference)The unique identifier of the resource.TransactionRuleEntityKeyentityType(String entityType)The type of resource.booleanequals(Object o)Return true if this TransactionRuleEntityKey object is equal to o.static TransactionRuleEntityKeyfromJson(String jsonString)Create an instance of TransactionRuleEntityKey given an JSON stringStringgetEntityReference()The unique identifier of the resource.StringgetEntityType()The type of resource.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.inthashCode()TransactionRuleEntityKeyincludeNullValues(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.voidsetEntityReference(String entityReference)The unique identifier of the resource.voidsetEntityType(String entityType)The type of resource.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.StringtoJson()Convert an instance of TransactionRuleEntityKey to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ENTITY_REFERENCE
public static final String JSON_PROPERTY_ENTITY_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENTITY_TYPE
public static final String JSON_PROPERTY_ENTITY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
entityReference
public TransactionRuleEntityKey entityReference(String entityReference)
The unique identifier of the resource.- Parameters:
entityReference- The unique identifier of the resource.- Returns:
- the current
TransactionRuleEntityKeyinstance, allowing for method chaining
-
getEntityReference
public String getEntityReference()
The unique identifier of the resource.- Returns:
- entityReference The unique identifier of the resource.
-
setEntityReference
public void setEntityReference(String entityReference)
The unique identifier of the resource.- Parameters:
entityReference- The unique identifier of the resource.
-
entityType
public TransactionRuleEntityKey entityType(String entityType)
The type of resource. Possible values: **balancePlatform**, **paymentInstrumentGroup**, **accountHolder**, **balanceAccount**, or **paymentInstrument**.- Parameters:
entityType- The type of resource. Possible values: **balancePlatform**, **paymentInstrumentGroup**, **accountHolder**, **balanceAccount**, or **paymentInstrument**.- Returns:
- the current
TransactionRuleEntityKeyinstance, allowing for method chaining
-
getEntityType
public String getEntityType()
The type of resource. Possible values: **balancePlatform**, **paymentInstrumentGroup**, **accountHolder**, **balanceAccount**, or **paymentInstrument**.- Returns:
- entityType The type of resource. Possible values: **balancePlatform**, **paymentInstrumentGroup**, **accountHolder**, **balanceAccount**, or **paymentInstrument**.
-
setEntityType
public void setEntityType(String entityType)
The type of resource. Possible values: **balancePlatform**, **paymentInstrumentGroup**, **accountHolder**, **balanceAccount**, or **paymentInstrument**.- Parameters:
entityType- The type of resource. Possible values: **balancePlatform**, **paymentInstrumentGroup**, **accountHolder**, **balanceAccount**, or **paymentInstrument**.
-
includeNullValues
public TransactionRuleEntityKey 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 TransactionRuleEntityKey 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 TransactionRuleEntityKey fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TransactionRuleEntityKey given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransactionRuleEntityKey
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TransactionRuleEntityKey
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TransactionRuleEntityKey to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-