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)
        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.
        Parameters:
        businessLineId -
      • getCompanyId

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

        public void setCompanyId​(String companyId)
        The unique identifier of the company account.
        Parameters:
        companyId -
      • getDescription

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

        public void setDescription​(String description)
        Your description for the merchant account, maximum 300 characters.
        Parameters:
        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)
        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.
        Parameters:
        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)
        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.
        Parameters:
        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)
        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.
        Parameters:
        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)
        List of sales channels that the merchant will process payments with
        Parameters:
        salesChannels -
      • equals

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

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

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

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