Class Wallet


  • public class Wallet
    extends Object
    Wallet
    • Constructor Detail

      • Wallet

        public Wallet()
    • Method Detail

      • accountScore

        public Wallet accountScore​(String accountScore)
        The confidence score of the wallet account, calculated by the wallet provider. A high score means that account is considered trustworthy. A low score means that the account is considered suspicious. Possible values: **1** to **5**.
        Parameters:
        accountScore - The confidence score of the wallet account, calculated by the wallet provider. A high score means that account is considered trustworthy. A low score means that the account is considered suspicious. Possible values: **1** to **5**.
        Returns:
        the current Wallet instance, allowing for method chaining
      • getAccountScore

        public String getAccountScore()
        The confidence score of the wallet account, calculated by the wallet provider. A high score means that account is considered trustworthy. A low score means that the account is considered suspicious. Possible values: **1** to **5**.
        Returns:
        accountScore The confidence score of the wallet account, calculated by the wallet provider. A high score means that account is considered trustworthy. A low score means that the account is considered suspicious. Possible values: **1** to **5**.
      • setAccountScore

        public void setAccountScore​(String accountScore)
        The confidence score of the wallet account, calculated by the wallet provider. A high score means that account is considered trustworthy. A low score means that the account is considered suspicious. Possible values: **1** to **5**.
        Parameters:
        accountScore - The confidence score of the wallet account, calculated by the wallet provider. A high score means that account is considered trustworthy. A low score means that the account is considered suspicious. Possible values: **1** to **5**.
      • device

        public Wallet device​(Device device)
        device
        Parameters:
        device -
        Returns:
        the current Wallet instance, allowing for method chaining
      • getDevice

        public Device getDevice()
        Get device
        Returns:
        device
      • setDevice

        public void setDevice​(Device device)
        device
        Parameters:
        device -
      • deviceScore

        public Wallet deviceScore​(String deviceScore)
        The confidence score of the device, calculated by the wallet provider. A high score means that device is considered trustworthy. A low score means that the device is considered suspicious. Possible values: **1** to **5**.
        Parameters:
        deviceScore - The confidence score of the device, calculated by the wallet provider. A high score means that device is considered trustworthy. A low score means that the device is considered suspicious. Possible values: **1** to **5**.
        Returns:
        the current Wallet instance, allowing for method chaining
      • getDeviceScore

        public String getDeviceScore()
        The confidence score of the device, calculated by the wallet provider. A high score means that device is considered trustworthy. A low score means that the device is considered suspicious. Possible values: **1** to **5**.
        Returns:
        deviceScore The confidence score of the device, calculated by the wallet provider. A high score means that device is considered trustworthy. A low score means that the device is considered suspicious. Possible values: **1** to **5**.
      • setDeviceScore

        public void setDeviceScore​(String deviceScore)
        The confidence score of the device, calculated by the wallet provider. A high score means that device is considered trustworthy. A low score means that the device is considered suspicious. Possible values: **1** to **5**.
        Parameters:
        deviceScore - The confidence score of the device, calculated by the wallet provider. A high score means that device is considered trustworthy. A low score means that the device is considered suspicious. Possible values: **1** to **5**.
      • provisioningMethod

        public Wallet provisioningMethod​(String provisioningMethod)
        The method used for provisioning the network token. Possible values: **push**, **manual**, **cof**, **unknown**.
        Parameters:
        provisioningMethod - The method used for provisioning the network token. Possible values: **push**, **manual**, **cof**, **unknown**.
        Returns:
        the current Wallet instance, allowing for method chaining
      • getProvisioningMethod

        public String getProvisioningMethod()
        The method used for provisioning the network token. Possible values: **push**, **manual**, **cof**, **unknown**.
        Returns:
        provisioningMethod The method used for provisioning the network token. Possible values: **push**, **manual**, **cof**, **unknown**.
      • setProvisioningMethod

        public void setProvisioningMethod​(String provisioningMethod)
        The method used for provisioning the network token. Possible values: **push**, **manual**, **cof**, **unknown**.
        Parameters:
        provisioningMethod - The method used for provisioning the network token. Possible values: **push**, **manual**, **cof**, **unknown**.
      • recommendationReasons

        public Wallet recommendationReasons​(List<Wallet.RecommendationReasonsEnum> recommendationReasons)
        A list of risk indicators triggered at the time of provisioning the network token. Some example values of risk indicators are: * **accountTooNewSinceLaunch** * **tooManyRecentAttempts** * **lowDeviceScore** * **lowAccountScore**
        Parameters:
        recommendationReasons - A list of risk indicators triggered at the time of provisioning the network token. Some example values of risk indicators are: * **accountTooNewSinceLaunch** * **tooManyRecentAttempts** * **lowDeviceScore** * **lowAccountScore**
        Returns:
        the current Wallet instance, allowing for method chaining
      • getRecommendationReasons

        public List<Wallet.RecommendationReasonsEnum> getRecommendationReasons()
        A list of risk indicators triggered at the time of provisioning the network token. Some example values of risk indicators are: * **accountTooNewSinceLaunch** * **tooManyRecentAttempts** * **lowDeviceScore** * **lowAccountScore**
        Returns:
        recommendationReasons A list of risk indicators triggered at the time of provisioning the network token. Some example values of risk indicators are: * **accountTooNewSinceLaunch** * **tooManyRecentAttempts** * **lowDeviceScore** * **lowAccountScore**
      • setRecommendationReasons

        public void setRecommendationReasons​(List<Wallet.RecommendationReasonsEnum> recommendationReasons)
        A list of risk indicators triggered at the time of provisioning the network token. Some example values of risk indicators are: * **accountTooNewSinceLaunch** * **tooManyRecentAttempts** * **lowDeviceScore** * **lowAccountScore**
        Parameters:
        recommendationReasons - A list of risk indicators triggered at the time of provisioning the network token. Some example values of risk indicators are: * **accountTooNewSinceLaunch** * **tooManyRecentAttempts** * **lowDeviceScore** * **lowAccountScore**
      • type

        @Deprecated
        public Wallet type​(String type)
        Deprecated.
        since Configuration webhooks v2 Use name of the `tokenRequestor` instead.
        The type of wallet that the network token is associated with. Possible values: **applePay**, **googlePay**, **garminPay**.
        Parameters:
        type - The type of wallet that the network token is associated with. Possible values: **applePay**, **googlePay**, **garminPay**.
        Returns:
        the current Wallet instance, allowing for method chaining
      • getType

        @Deprecated
        public String getType()
        Deprecated.
        since Configuration webhooks v2 Use name of the `tokenRequestor` instead.
        The type of wallet that the network token is associated with. Possible values: **applePay**, **googlePay**, **garminPay**.
        Returns:
        type The type of wallet that the network token is associated with. Possible values: **applePay**, **googlePay**, **garminPay**.
      • setType

        @Deprecated
        public void setType​(String type)
        Deprecated.
        since Configuration webhooks v2 Use name of the `tokenRequestor` instead.
        The type of wallet that the network token is associated with. Possible values: **applePay**, **googlePay**, **garminPay**.
        Parameters:
        type - The type of wallet that the network token is associated with. Possible values: **applePay**, **googlePay**, **garminPay**.
      • equals

        public boolean equals​(Object o)
        Return true if this Wallet object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static Wallet fromJson​(String jsonString)
                               throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of Wallet given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Wallet
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to Wallet
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of Wallet to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException