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.inthashCode()voidsetEntityReference(String entityReference)The unique identifier of the resource.voidsetEntityType(String entityType)The type of resource.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-- Returns:
- the current
TransactionRuleEntityKeyinstance, allowing for method chaining
-
getEntityReference
public String getEntityReference()
The unique identifier of the resource.- Returns:
- entityReference
-
setEntityReference
public void setEntityReference(String entityReference)
The unique identifier of the resource.- Parameters:
entityReference-
-
entityType
public TransactionRuleEntityKey entityType(String entityType)
The type of resource. Possible values: **balancePlatform**, **paymentInstrumentGroup**, **accountHolder**, **balanceAccount**, or **paymentInstrument**.- Parameters:
entityType-- 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
-
setEntityType
public void setEntityType(String entityType)
The type of resource. Possible values: **balancePlatform**, **paymentInstrumentGroup**, **accountHolder**, **balanceAccount**, or **paymentInstrument**.- Parameters:
entityType-
-
equals
public boolean equals(Object o)
Return true if this TransactionRuleEntityKey object is equal to o.
-
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
-
-