Class TransferView


  • public class TransferView
    extends Object
    TransferView
    • Constructor Detail

      • TransferView

        public TransferView()
    • Method Detail

      • categoryData

        public TransferView categoryData​(TransferViewCategoryData categoryData)
        categoryData
        Parameters:
        categoryData -
        Returns:
        the current TransferView instance, allowing for method chaining
      • setCategoryData

        public void setCategoryData​(TransferViewCategoryData categoryData)
        categoryData
        Parameters:
        categoryData -
      • id

        public TransferView id​(String id)
        The ID of the resource.
        Parameters:
        id -
        Returns:
        the current TransferView instance, allowing for method chaining
      • getId

        public String getId()
        The ID of the resource.
        Returns:
        id
      • setId

        public void setId​(String id)
        The ID of the resource.
        Parameters:
        id -
      • reference

        public TransferView reference​(String reference)
        The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference.
        Parameters:
        reference -
        Returns:
        the current TransferView instance, allowing for method chaining
      • getReference

        public String getReference()
        The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
        The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference.
        Parameters:
        reference -
      • equals

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

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

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

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