Class GatewayKeysContractInner


  • public final class GatewayKeysContractInner
    extends Object
    Gateway authentication keys.
    • Constructor Detail

      • GatewayKeysContractInner

        public GatewayKeysContractInner()
    • Method Detail

      • primary

        public String primary()
        Get the primary property: Primary gateway key.
        Returns:
        the primary value.
      • withPrimary

        public GatewayKeysContractInner withPrimary​(String primary)
        Set the primary property: Primary gateway key.
        Parameters:
        primary - the primary value to set.
        Returns:
        the GatewayKeysContractInner object itself.
      • secondary

        public String secondary()
        Get the secondary property: Secondary gateway key.
        Returns:
        the secondary value.
      • withSecondary

        public GatewayKeysContractInner withSecondary​(String secondary)
        Set the secondary property: Secondary gateway key.
        Parameters:
        secondary - the secondary value to set.
        Returns:
        the GatewayKeysContractInner object itself.
      • validate

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