Class TargetUpdate


  • public class TargetUpdate
    extends Object
    TargetUpdate
    • Constructor Detail

      • TargetUpdate

        public TargetUpdate()
    • Method Detail

      • id

        public TargetUpdate id​(String id)
        The unique identifier of the `target.type`. This can be the ID of your: * balance platform * account holder * account holder's balance account
        Parameters:
        id - The unique identifier of the `target.type`. This can be the ID of your: * balance platform * account holder * account holder's balance account
        Returns:
        the current TargetUpdate instance, allowing for method chaining
      • getId

        public String getId()
        The unique identifier of the `target.type`. This can be the ID of your: * balance platform * account holder * account holder's balance account
        Returns:
        id The unique identifier of the `target.type`. This can be the ID of your: * balance platform * account holder * account holder's balance account
      • setId

        public void setId​(String id)
        The unique identifier of the `target.type`. This can be the ID of your: * balance platform * account holder * account holder's balance account
        Parameters:
        id - The unique identifier of the `target.type`. This can be the ID of your: * balance platform * account holder * account holder's balance account
      • type

        public TargetUpdate type​(TargetUpdate.TypeEnum type)
        The resource for which you want to receive notifications. Possible values: * **balancePlatform**: receive notifications about balance changes in your entire balance platform. * **accountHolder**: receive notifications about balance changes of a specific user. * **balanceAccount**: receive notifications about balance changes in a specific balance account.
        Parameters:
        type - The resource for which you want to receive notifications. Possible values: * **balancePlatform**: receive notifications about balance changes in your entire balance platform. * **accountHolder**: receive notifications about balance changes of a specific user. * **balanceAccount**: receive notifications about balance changes in a specific balance account.
        Returns:
        the current TargetUpdate instance, allowing for method chaining
      • getType

        public TargetUpdate.TypeEnum getType()
        The resource for which you want to receive notifications. Possible values: * **balancePlatform**: receive notifications about balance changes in your entire balance platform. * **accountHolder**: receive notifications about balance changes of a specific user. * **balanceAccount**: receive notifications about balance changes in a specific balance account.
        Returns:
        type The resource for which you want to receive notifications. Possible values: * **balancePlatform**: receive notifications about balance changes in your entire balance platform. * **accountHolder**: receive notifications about balance changes of a specific user. * **balanceAccount**: receive notifications about balance changes in a specific balance account.
      • setType

        public void setType​(TargetUpdate.TypeEnum type)
        The resource for which you want to receive notifications. Possible values: * **balancePlatform**: receive notifications about balance changes in your entire balance platform. * **accountHolder**: receive notifications about balance changes of a specific user. * **balanceAccount**: receive notifications about balance changes in a specific balance account.
        Parameters:
        type - The resource for which you want to receive notifications. Possible values: * **balancePlatform**: receive notifications about balance changes in your entire balance platform. * **accountHolder**: receive notifications about balance changes of a specific user. * **balanceAccount**: receive notifications about balance changes in a specific balance account.
      • equals

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

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

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

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