Class Merchant


  • public class Merchant
    extends Object
    Merchant
    • Constructor Detail

      • Merchant

        public Merchant()
    • Method Detail

      • getLinks

        public MerchantLinks getLinks()
        Get links
        Returns:
        links
      • setLinks

        public void setLinks​(MerchantLinks links)
        links
        Parameters:
        links -
      • captureDelay

        public Merchant captureDelay​(String captureDelay)
      • getCaptureDelay

        public String getCaptureDelay()
        The [capture delay](https://docs.adyen.com/online-payments/capture#capture-delay) set for the merchant account. Possible values: * **Immediate** * **Manual** * Number of days from **1** to **29**
        Returns:
        captureDelay
      • setCaptureDelay

        public void setCaptureDelay​(String captureDelay)
        The [capture delay](https://docs.adyen.com/online-payments/capture#capture-delay) set for the merchant account. Possible values: * **Immediate** * **Manual** * Number of days from **1** to **29**
        Parameters:
        captureDelay -
      • getCompanyId

        public String getCompanyId()
        The unique identifier of the company account this merchant belongs to
        Returns:
        companyId
      • setCompanyId

        public void setCompanyId​(String companyId)
        The unique identifier of the company account this merchant belongs to
        Parameters:
        companyId -
      • getDataCenters

        public List<DataCenter> getDataCenters()
        List of available data centers. Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers.
        Returns:
        dataCenters
      • setDataCenters

        public void setDataCenters​(List<DataCenter> dataCenters)
        List of available data centers. Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers.
        Parameters:
        dataCenters -
      • defaultShopperInteraction

        public Merchant defaultShopperInteraction​(String defaultShopperInteraction)
      • getDefaultShopperInteraction

        public String getDefaultShopperInteraction()
        The default [`shopperInteraction`](https://docs.adyen.com/api-explorer/#/CheckoutService/v68/post/payments__reqParam_shopperInteraction) value used when processing payments through this merchant account.
        Returns:
        defaultShopperInteraction
      • setDefaultShopperInteraction

        public void setDefaultShopperInteraction​(String defaultShopperInteraction)
        The default [`shopperInteraction`](https://docs.adyen.com/api-explorer/#/CheckoutService/v68/post/payments__reqParam_shopperInteraction) value used when processing payments through this merchant account.
        Parameters:
        defaultShopperInteraction -
      • 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.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the merchant account.
        Parameters:
        id -
      • merchantCity

        public Merchant merchantCity​(String merchantCity)
      • getMerchantCity

        public String getMerchantCity()
        The city where the legal entity of this merchant account is registered.
        Returns:
        merchantCity
      • setMerchantCity

        public void setMerchantCity​(String merchantCity)
        The city where the legal entity of this merchant account is registered.
        Parameters:
        merchantCity -
      • getName

        public String getName()
        The name of the legal entity associated with the merchant account.
        Returns:
        name
      • setName

        public void setName​(String name)
        The name of the legal entity associated with the merchant account.
        Parameters:
        name -
      • getPricingPlan

        public String getPricingPlan()
        Only applies to merchant accounts managed by Adyen's partners. The name of the pricing plan assigned to the merchant account.
        Returns:
        pricingPlan
      • setPricingPlan

        public void setPricingPlan​(String pricingPlan)
        Only applies to merchant accounts managed by Adyen's partners. The name of the pricing plan assigned to the merchant account.
        Parameters:
        pricingPlan -
      • primarySettlementCurrency

        public Merchant primarySettlementCurrency​(String primarySettlementCurrency)
      • getPrimarySettlementCurrency

        public String getPrimarySettlementCurrency()
        The currency of the country where the legal entity of this merchant account is registered. Format: [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, a legal entity based in the United States has USD as the primary settlement currency.
        Returns:
        primarySettlementCurrency
      • setPrimarySettlementCurrency

        public void setPrimarySettlementCurrency​(String primarySettlementCurrency)
        The currency of the country where the legal entity of this merchant account is registered. Format: [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, a legal entity based in the United States has USD as the primary settlement currency.
        Parameters:
        primarySettlementCurrency -
      • getReference

        public String getReference()
        Reference of the merchant account.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
        Reference of the merchant account.
        Parameters:
        reference -
      • shopWebAddress

        public Merchant shopWebAddress​(String shopWebAddress)
      • getShopWebAddress

        public String getShopWebAddress()
        The URL for the ecommerce website used with this merchant account.
        Returns:
        shopWebAddress
      • setShopWebAddress

        public void setShopWebAddress​(String shopWebAddress)
        The URL for the ecommerce website used with this merchant account.
        Parameters:
        shopWebAddress -
      • getStatus

        public String getStatus()
        The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. You cannot process new payments but you can still modify payments, for example issue refunds. You can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled.
        Returns:
        status
      • setStatus

        public void setStatus​(String status)
        The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. You cannot process new payments but you can still modify payments, for example issue refunds. You can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled.
        Parameters:
        status -
      • equals

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

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

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

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