Class CreateMerchantResponse


  • public class CreateMerchantResponse
    extends Object
    CreateMerchantResponse
    • Constructor Detail

      • CreateMerchantResponse

        public CreateMerchantResponse()
    • Method Detail

      • getBusinessLineId

        public String getBusinessLineId()
        The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines).
        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).
        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 -
      • getId

        public String getId()
        The unique identifier of the merchant account. If Adyen set up a template for the `reference`, then the `id` will have the same value as the `reference` that you sent in the request. Otherwise, the value is generated by Adyen.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the merchant account. If Adyen set up a template for the `reference`, then the `id` will have the same value as the `reference` that you sent in the request. Otherwise, the value is generated by Adyen.
        Parameters:
        id -
      • getLegalEntityId

        public String getLegalEntityId()
        The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities).
        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).
        Parameters:
        legalEntityId -
      • getPricingPlan

        public String getPricingPlan()
        Partner pricing plan for the merchant, applicable for merchants under AfP managed company accounts.
        Returns:
        pricingPlan
      • setPricingPlan

        public void setPricingPlan​(String pricingPlan)
        Partner pricing plan for the merchant, applicable for merchants under AfP managed company accounts.
        Parameters:
        pricingPlan -
      • getReference

        public String getReference()
        Your reference for the merchant account.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
        Your reference for the merchant account.
        Parameters:
        reference -
      • equals

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

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

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

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