Class NetworkToken


  • public final class NetworkToken
    extends java.lang.Object
    • Constructor Detail

      • NetworkToken

        public NetworkToken​(java.lang.Boolean enabled,
                            java.lang.Boolean requestCryptogram)
        Creates a new NetworkToken instance.
        Parameters:
        enabled - Specifies whether to use a network token (Optional)
        requestCryptogram - Specifies whether to generate a cryptogram. For example, for customer-initiated transactions (CITs). If you set network_token.enabled to true, you must provide this field (Optional)
      • NetworkToken

        public NetworkToken()
    • Method Detail

      • getEnabled

        public java.lang.Boolean getEnabled()
        Specifies whether to use a network token (Optional)
      • getRequestCryptogram

        public java.lang.Boolean getRequestCryptogram()
        Specifies whether to generate a cryptogram. For example, for customer-initiated transactions (CITs). If you set network_token.enabled to true, you must provide this field (Optional)
      • setEnabled

        public void setEnabled​(java.lang.Boolean enabled)
        Specifies whether to use a network token (Optional)
      • setRequestCryptogram

        public void setRequestCryptogram​(java.lang.Boolean requestCryptogram)
        Specifies whether to generate a cryptogram. For example, for customer-initiated transactions (CITs). If you set network_token.enabled to true, you must provide this field (Optional)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object