Class SourceOfFunds


  • public class SourceOfFunds
    extends Object
    SourceOfFunds
    • Constructor Detail

      • SourceOfFunds

        public SourceOfFunds()
    • Method Detail

      • getAcquiringBusinessLineId

        @Deprecated
        public String getAcquiringBusinessLineId()
        Deprecated.
        The unique identifier of the business line that will be the source of funds.This must be a business line for a **receivePayments** or **receiveFromPlatformPayments** capability.
        Returns:
        acquiringBusinessLineId
      • setAcquiringBusinessLineId

        @Deprecated
        public void setAcquiringBusinessLineId​(String acquiringBusinessLineId)
        Deprecated.
        The unique identifier of the business line that will be the source of funds.This must be a business line for a **receivePayments** or **receiveFromPlatformPayments** capability.
        Parameters:
        acquiringBusinessLineId -
      • getAdyenProcessedFunds

        public Boolean getAdyenProcessedFunds()
        Indicates whether the funds are coming from transactions processed by Adyen. If **false**, a `description` is required.
        Returns:
        adyenProcessedFunds
      • setAdyenProcessedFunds

        public void setAdyenProcessedFunds​(Boolean adyenProcessedFunds)
        Indicates whether the funds are coming from transactions processed by Adyen. If **false**, a `description` is required.
        Parameters:
        adyenProcessedFunds -
      • getDescription

        public String getDescription()
        Text describing the source of funds. For example, for `type` **business**, provide a description of where the business transactions come from, such as payments through bank transfer. Required when `adyenProcessedFunds` is **false**.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
        Text describing the source of funds. For example, for `type` **business**, provide a description of where the business transactions come from, such as payments through bank transfer. Required when `adyenProcessedFunds` is **false**.
        Parameters:
        description -
      • getType

        public SourceOfFunds.TypeEnum getType()
        The type of the source of funds. Possible value: **business**.
        Returns:
        type
      • setType

        public void setType​(SourceOfFunds.TypeEnum type)
        The type of the source of funds. Possible value: **business**.
        Parameters:
        type -
      • equals

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

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

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

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