Class SweepConfigurationNotificationData


  • public class SweepConfigurationNotificationData
    extends Object
    SweepConfigurationNotificationData
    • Constructor Detail

      • SweepConfigurationNotificationData

        public SweepConfigurationNotificationData()
    • Method Detail

      • getAccountId

        public String getAccountId()
        The unique identifier of the balance account for which the sweep was configured.
        Returns:
        accountId
      • setAccountId

        public void setAccountId​(String accountId)
      • getBalancePlatform

        public String getBalancePlatform()
        The unique identifier of the balance platform.
        Returns:
        balancePlatform
      • setBalancePlatform

        public void setBalancePlatform​(String balancePlatform)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to SweepConfigurationNotificationData
      • fromJson

        public static SweepConfigurationNotificationData fromJson​(String jsonString)
                                                           throws IOException
        Create an instance of SweepConfigurationNotificationData given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of SweepConfigurationNotificationData
        Throws:
        IOException - if the JSON string is invalid with respect to SweepConfigurationNotificationData
      • toJson

        public String toJson()
        Convert an instance of SweepConfigurationNotificationData to an JSON string
        Returns:
        JSON string