Class NetworkTokenRiskRuleSource


  • public class NetworkTokenRiskRuleSource
    extends Object
    NetworkTokenRiskRuleSource
    • Constructor Detail

      • NetworkTokenRiskRuleSource

        public NetworkTokenRiskRuleSource()
    • 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 NetworkTokenRiskRuleSource instance, 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 NetworkTokenRiskRuleSource instance, 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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