Class Network.TrustTokenParams

    • Field Detail

      • serialVersionUID

        🡇     🗕  🗗  🗖
        protected static final long serialVersionUID
        This fulfils the SerialVersion UID requirement for all classes that implement Java's interface java.io.Serializable. Using the Serializable Implementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.
        See Also:
        Constant Field Values
      • operation

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String operation
        [No Description Provided by Google]

        This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:

        📎 Network.TrustTokenOperationType


        Programmatically Accessing the Enum:
        // Retrieve the list of enumerated strings for this field
        ReadOnlyList<String> enumerationStrs = Network.TrustTokenOperationType.enumStrList("operation");
        
        // Print the list of strings to the terminal
        for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
        
        See Also:
        BaseType.enumStrList(String)
      • refreshPolicy

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String refreshPolicy
        Only set for "token-redemption" operation and determine whether to request a fresh SRR or use a still valid cached SRR.

        This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed inside the hilited source code from this class nested helper. Click the link below, and scroll down to find the definition for a ReadOnlyList<String> named 'refreshPolicy$$':

        📎 Network$$TrustTokenParams$$


        Programmatically Accessing the Enum:
        // Retrieve the list of enumerated strings for this field
        ReadOnlyList<String> enumerationStrs = Network.TrustTokenParams.enumStrList("refreshPolicy");
        
        // Print the list of strings to the terminal
        for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
        
        See Also:
        BaseType.enumStrList(String)
      • issuers

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String[] issuers
        Origins of issuers from whom to request tokens or redemption records.
        OPTIONAL
    • Constructor Detail

      • TrustTokenParams

        🡅  🡇     🗕  🗗  🗖
        public TrustTokenParams​(ReadOnlyList<java.lang.Boolean> isPresent,
                                java.lang.String operation,
                                java.lang.String refreshPolicy,
                                java.lang.String[] issuers)
        Constructor. Please review this class' fields for documentation.