Class NetworkTokenRiskRuleSource
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.NetworkTokenRiskRuleSource
-
public class NetworkTokenRiskRuleSource extends Object
NetworkTokenRiskRuleSource
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description NetworkTokenRiskRuleSource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this NetworkTokenRiskRuleSource object is equal to o.static NetworkTokenRiskRuleSourcefromJson(String jsonString)Create an instance of NetworkTokenRiskRuleSource given an JSON stringStringgetId()The unique identifier of the resource to which the transaction rule applies.StringgetType()Indicates the type of resource for which the transaction rule is defined.inthashCode()NetworkTokenRiskRuleSourceid(String id)The unique identifier of the resource to which the transaction rule applies.voidsetId(String id)The unique identifier of the resource to which the transaction rule applies.voidsetType(String type)Indicates the type of resource for which the transaction rule is defined.StringtoJson()Convert an instance of NetworkTokenRiskRuleSource to an JSON stringStringtoString()NetworkTokenRiskRuleSourcetype(String type)Indicates the type of resource for which the transaction rule is defined.
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public NetworkTokenRiskRuleSource id(String id)
The unique identifier of the resource to which the transaction rule applies.- Parameters:
id- The unique identifier of the resource to which the transaction rule applies.- Returns:
- the current
NetworkTokenRiskRuleSourceinstance, allowing for method chaining
-
getId
public String getId()
The unique identifier of the resource to which the transaction rule applies.- Returns:
- id The unique identifier of the resource to which the transaction rule applies.
-
setId
public void setId(String id)
The unique identifier of the resource to which the transaction rule applies.- Parameters:
id- The unique identifier of the resource to which the transaction rule applies.
-
type
public NetworkTokenRiskRuleSource type(String type)
Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen.- Parameters:
type- Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen.- Returns:
- the current
NetworkTokenRiskRuleSourceinstance, allowing for method chaining
-
getType
public String getType()
Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen.- Returns:
- type Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen.
-
setType
public void setType(String type)
Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen.- Parameters:
type- Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen.
-
equals
public boolean equals(Object o)
Return true if this NetworkTokenRiskRuleSource object is equal to o.
-
fromJson
public static NetworkTokenRiskRuleSource fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of NetworkTokenRiskRuleSource given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NetworkTokenRiskRuleSource
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to NetworkTokenRiskRuleSource
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of NetworkTokenRiskRuleSource to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-