Class SourceOfFunds


  • public class SourceOfFunds
    extends Object
    SourceOfFunds
    • Constructor Detail

      • SourceOfFunds

        public SourceOfFunds()
    • Method Detail

      • acquiringBusinessLineId

        @Deprecated
        public SourceOfFunds acquiringBusinessLineId​(String acquiringBusinessLineId)
        Deprecated.
        since Legal Entity Management API v3 This field will be removed in v4.
        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 -
        Returns:
        the current SourceOfFunds instance, allowing for method chaining
      • getAcquiringBusinessLineId

        @Deprecated
        public String getAcquiringBusinessLineId()
        Deprecated.
        since Legal Entity Management API v3 This field will be removed in v4.
        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.
        since Legal Entity Management API v3 This field will be removed in v4.
        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 -
      • adyenProcessedFunds

        public SourceOfFunds adyenProcessedFunds​(Boolean adyenProcessedFunds)
        Indicates whether the funds are coming from transactions processed by Adyen. If **false**, a `description` is required.
        Parameters:
        adyenProcessedFunds -
        Returns:
        the current SourceOfFunds instance, allowing for method chaining
      • 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 -
      • description

        public SourceOfFunds description​(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 -
        Returns:
        the current SourceOfFunds instance, allowing for method chaining
      • 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 -
      • type

        public SourceOfFunds type​(SourceOfFunds.TypeEnum type)
        The type of the source of funds. Possible value: **business**.
        Parameters:
        type -
        Returns:
        the current SourceOfFunds instance, allowing for method chaining
      • 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