Class BusinessLineInfoUpdate


  • public class BusinessLineInfoUpdate
    extends Object
    BusinessLineInfoUpdate
    • Constructor Detail

      • BusinessLineInfoUpdate

        public BusinessLineInfoUpdate()
    • Method Detail

      • setCapability

        @Deprecated
        public void setCapability​(BusinessLineInfoUpdate.CapabilityEnum capability)
        Deprecated.
        The capability for which you are creating the business line. For example, **receivePayments**.
        Parameters:
        capability -
      • getIndustryCode

        public String getIndustryCode()
        A code that represents the industry of your legal entity. For example, **4431A** for computer software stores.
        Returns:
        industryCode
      • setIndustryCode

        public void setIndustryCode​(String industryCode)
        A code that represents the industry of your legal entity. For example, **4431A** for computer software stores.
        Parameters:
        industryCode -
      • getLegalEntityId

        public String getLegalEntityId()
        Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.
        Returns:
        legalEntityId
      • setLegalEntityId

        public void setLegalEntityId​(String legalEntityId)
        Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.
        Parameters:
        legalEntityId -
      • getSalesChannels

        public List<String> getSalesChannels()
        A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**.
        Returns:
        salesChannels
      • setSalesChannels

        public void setSalesChannels​(List<String> salesChannels)
        A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**.
        Parameters:
        salesChannels -
      • getService

        public BusinessLineInfoUpdate.ServiceEnum getService()
        The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking**
        Returns:
        service
      • setService

        public void setService​(BusinessLineInfoUpdate.ServiceEnum service)
        The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking**
        Parameters:
        service -
      • getSourceOfFunds

        public SourceOfFunds getSourceOfFunds()
        Get sourceOfFunds
        Returns:
        sourceOfFunds
      • setSourceOfFunds

        public void setSourceOfFunds​(SourceOfFunds sourceOfFunds)
        sourceOfFunds
        Parameters:
        sourceOfFunds -
      • getWebData

        public List<WebData> getWebData()
        List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object.
        Returns:
        webData
      • setWebData

        public void setWebData​(List<WebData> webData)
        List of website URLs where your user's goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object.
        Parameters:
        webData -
      • getWebDataExemption

        public WebDataExemption getWebDataExemption()
        Get webDataExemption
        Returns:
        webDataExemption
      • setWebDataExemption

        public void setWebDataExemption​(WebDataExemption webDataExemption)
        webDataExemption
        Parameters:
        webDataExemption -
      • equals

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

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

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

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