Class GatewayKeyRegenerationRequestContract


  • public final class GatewayKeyRegenerationRequestContract
    extends Object
    Gateway key regeneration request contract properties.
    • Constructor Detail

      • GatewayKeyRegenerationRequestContract

        public GatewayKeyRegenerationRequestContract()
    • Method Detail

      • keyType

        public KeyType keyType()
        Get the keyType property: The Key being regenerated.
        Returns:
        the keyType value.
      • withKeyType

        public GatewayKeyRegenerationRequestContract withKeyType​(KeyType keyType)
        Set the keyType property: The Key being regenerated.
        Parameters:
        keyType - the keyType value to set.
        Returns:
        the GatewayKeyRegenerationRequestContract object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.