Package com.adyen.model.management
Class CreateMerchantResponse
- java.lang.Object
-
- com.adyen.model.management.CreateMerchantResponse
-
public class CreateMerchantResponse extends Object
CreateMerchantResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BUSINESS_LINE_IDstatic StringJSON_PROPERTY_COMPANY_IDstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_LEGAL_ENTITY_IDstatic StringJSON_PROPERTY_PRICING_PLANstatic StringJSON_PROPERTY_REFERENCE
-
Constructor Summary
Constructors Constructor Description CreateMerchantResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateMerchantResponsebusinessLineId(String businessLineId)CreateMerchantResponsecompanyId(String companyId)CreateMerchantResponsedescription(String description)booleanequals(Object o)Return true if this CreateMerchantResponse object is equal to o.static CreateMerchantResponsefromJson(String jsonString)Create an instance of CreateMerchantResponse given an JSON stringStringgetBusinessLineId()The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines).StringgetCompanyId()The unique identifier of the company account.StringgetDescription()Your description for the merchant account, maximum 300 characters.StringgetId()The unique identifier of the merchant account.StringgetLegalEntityId()The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities).StringgetPricingPlan()Partner pricing plan for the merchant, applicable for merchants under AfP managed company accounts.StringgetReference()Your reference for the merchant account.inthashCode()CreateMerchantResponseid(String id)CreateMerchantResponselegalEntityId(String legalEntityId)CreateMerchantResponsepricingPlan(String pricingPlan)CreateMerchantResponsereference(String reference)voidsetBusinessLineId(String businessLineId)The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines).voidsetCompanyId(String companyId)The unique identifier of the company account.voidsetDescription(String description)Your description for the merchant account, maximum 300 characters.voidsetId(String id)The unique identifier of the merchant account.voidsetLegalEntityId(String legalEntityId)The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities).voidsetPricingPlan(String pricingPlan)Partner pricing plan for the merchant, applicable for merchants under AfP managed company accounts.voidsetReference(String reference)Your reference for the merchant account.StringtoJson()Convert an instance of CreateMerchantResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BUSINESS_LINE_ID
public static final String JSON_PROPERTY_BUSINESS_LINE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COMPANY_ID
public static final String JSON_PROPERTY_COMPANY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEGAL_ENTITY_ID
public static final String JSON_PROPERTY_LEGAL_ENTITY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRICING_PLAN
public static final String JSON_PROPERTY_PRICING_PLAN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFERENCE
public static final String JSON_PROPERTY_REFERENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
businessLineId
public CreateMerchantResponse businessLineId(String businessLineId)
-
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-
-
companyId
public CreateMerchantResponse companyId(String companyId)
-
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-
-
description
public CreateMerchantResponse description(String description)
-
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-
-
id
public CreateMerchantResponse id(String id)
-
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-
-
legalEntityId
public CreateMerchantResponse legalEntityId(String legalEntityId)
-
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-
-
pricingPlan
public CreateMerchantResponse pricingPlan(String pricingPlan)
-
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-
-
reference
public CreateMerchantResponse reference(String reference)
-
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.
-
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
-
-