Class BusinessLineInfoUpdate


  • public class BusinessLineInfoUpdate
    extends Object
    BusinessLineInfoUpdate
    • Constructor Detail

      • BusinessLineInfoUpdate

        public BusinessLineInfoUpdate()
    • Method Detail

      • getCapability

        public String getCapability()
        The capability for which you are creating the business line. For example, **receivePayments**.
        Returns:
        capability
      • setCapability

        public void setCapability​(String 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)
      • 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)
      • getSalesChannels

        public List<String> getSalesChannels()
        A list of channels where goods or services are sold. You cannot combine point of sale and ecommerce in one business line. Possible values and combinations: - For point of sale: **pos** and **posMoto** - For ecommerce: **eCommerce** and **ecomMoto** - For Pay by Link: **payByLink** Required only in combination with the `capability` to **receivePayments** or **receiveFromPlatformPayments**.
        Returns:
        salesChannels
      • setSalesChannels

        public void setSalesChannels​(List<String> salesChannels)
      • getSourceOfFunds

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

        public void setSourceOfFunds​(SourceOfFunds 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 capability 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)
      • getWebDataExemption

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

        public void setWebDataExemption​(WebDataExemption webDataExemption)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to BusinessLineInfoUpdate
      • fromJson

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

        public String toJson()
        Convert an instance of BusinessLineInfoUpdate to an JSON string
        Returns:
        JSON string