Class BusinessLine


  • public class BusinessLine
    extends Object
    BusinessLine
    • Constructor Detail

      • BusinessLine

        public BusinessLine()
      • BusinessLine

        public BusinessLine​(String id)
    • Method Detail

      • getId

        public String getId()
        The unique identifier of the business line.
        Returns:
        id The unique identifier of the business line.
      • industryCode

        public BusinessLine industryCode​(String industryCode)
        A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.
        Parameters:
        industryCode - A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.
        Returns:
        the current BusinessLine instance, allowing for method chaining
      • getIndustryCode

        public String getIndustryCode()
        A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.
        Returns:
        industryCode A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.
      • setIndustryCode

        public void setIndustryCode​(String industryCode)
        A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.
        Parameters:
        industryCode - A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.
      • legalEntityId

        public BusinessLine legalEntityId​(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 - Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.
        Returns:
        the current BusinessLine instance, allowing for method chaining
      • 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 Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.
      • 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 - Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.
      • problems

        public BusinessLine problems​(List<CapabilityProblem> problems)
        The verification errors related to capabilities for this supporting entity.
        Parameters:
        problems - The verification errors related to capabilities for this supporting entity.
        Returns:
        the current BusinessLine instance, allowing for method chaining
      • getProblems

        public List<CapabilityProblem> getProblems()
        The verification errors related to capabilities for this supporting entity.
        Returns:
        problems The verification errors related to capabilities for this supporting entity.
      • setProblems

        public void setProblems​(List<CapabilityProblem> problems)
        The verification errors related to capabilities for this supporting entity.
        Parameters:
        problems - The verification errors related to capabilities for this supporting entity.
      • salesChannels

        public BusinessLine salesChannels​(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 - 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:
        the current BusinessLine instance, allowing for method chaining
      • addSalesChannelsItem

        public BusinessLine addSalesChannelsItem​(String salesChannelsItem)
      • 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 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**.
      • 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 - 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**.
      • service

        public BusinessLine service​(BusinessLine.ServiceEnum service)
        The service for which you are creating the business line. Possible values: * **paymentProcessing** * **issuing** * **banking**
        Parameters:
        service - The service for which you are creating the business line. Possible values: * **paymentProcessing** * **issuing** * **banking**
        Returns:
        the current BusinessLine instance, allowing for method chaining
      • getService

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

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

        public BusinessLine sourceOfFunds​(SourceOfFunds sourceOfFunds)
        sourceOfFunds
        Parameters:
        sourceOfFunds -
        Returns:
        the current BusinessLine instance, allowing for method chaining
      • getSourceOfFunds

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

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

        public BusinessLine webData​(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 - 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:
        the current BusinessLine instance, allowing for method chaining
      • 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 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.
      • 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 - 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.
      • webDataExemption

        public BusinessLine webDataExemption​(WebDataExemption webDataExemption)
        webDataExemption
        Parameters:
        webDataExemption -
        Returns:
        the current BusinessLine instance, allowing for method chaining
      • 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 BusinessLine object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

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

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