Class CreateMerchantRequest


  • public class CreateMerchantRequest
    extends Object
    CreateMerchantRequest
    • Constructor Detail

      • CreateMerchantRequest

        public CreateMerchantRequest()
    • Method Detail

      • getBusinessLineId

        public String getBusinessLineId()
        The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines). Required for an Adyen for Platforms Manage integration.
        Returns:
        businessLineId
      • setBusinessLineId

        public void setBusinessLineId​(String businessLineId)
      • getCompanyId

        public String getCompanyId()
        The unique identifier of the company account.
        Returns:
        companyId
      • setCompanyId

        public void setCompanyId​(String companyId)
      • getDescription

        public String getDescription()
        Your description for the merchant account, maximum 300 characters.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getLegalEntityId

        public String getLegalEntityId()
        The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). Required for an Adyen for Platforms Manage integration.
        Returns:
        legalEntityId
      • setLegalEntityId

        public void setLegalEntityId​(String legalEntityId)
      • getPricingPlan

        public String getPricingPlan()
        Sets the pricing plan for the merchant account. Required for an Adyen for Platforms Manage integration. Your Adyen contact will provide the values that you can use.
        Returns:
        pricingPlan
      • setPricingPlan

        public void setPricingPlan​(String pricingPlan)
      • getReference

        public String getReference()
        Your reference for the merchant account. To make this reference the unique identifier of the merchant account, your Adyen contact can set up a template on your company account. The template can have 6 to 255 characters with upper- and lower-case letters, underscores, and numbers. When your company account has a template, then the `reference` is required and must be unique within the company account.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
      • getSalesChannels

        public List<String> getSalesChannels()
        List of sales channels that the merchant will process payments with
        Returns:
        salesChannels
      • setSalesChannels

        public void setSalesChannels​(List<String> salesChannels)
      • 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 CreateMerchantRequest
      • fromJson

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

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