Package com.adyen.model.management
Class RequestActivationResponse
- java.lang.Object
-
- com.adyen.model.management.RequestActivationResponse
-
public class RequestActivationResponse extends Object
RequestActivationResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COMPANY_IDstatic StringJSON_PROPERTY_MERCHANT_ID
-
Constructor Summary
Constructors Constructor Description RequestActivationResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestActivationResponsecompanyId(String companyId)booleanequals(Object o)Return true if this RequestActivationResponse object is equal to o.static RequestActivationResponsefromJson(String jsonString)Create an instance of RequestActivationResponse given an JSON stringStringgetCompanyId()The unique identifier of the company account.StringgetMerchantId()The unique identifier of the merchant account you requested to activate.inthashCode()RequestActivationResponsemerchantId(String merchantId)voidsetCompanyId(String companyId)The unique identifier of the company account.voidsetMerchantId(String merchantId)The unique identifier of the merchant account you requested to activate.StringtoJson()Convert an instance of RequestActivationResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_COMPANY_ID
public static final String JSON_PROPERTY_COMPANY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_ID
public static final String JSON_PROPERTY_MERCHANT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
companyId
public RequestActivationResponse 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-
-
merchantId
public RequestActivationResponse merchantId(String merchantId)
-
getMerchantId
public String getMerchantId()
The unique identifier of the merchant account you requested to activate.- Returns:
- merchantId
-
setMerchantId
public void setMerchantId(String merchantId)
The unique identifier of the merchant account you requested to activate.- Parameters:
merchantId-
-
equals
public boolean equals(Object o)
Return true if this RequestActivationResponse object is equal to o.
-
fromJson
public static RequestActivationResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of RequestActivationResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RequestActivationResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to RequestActivationResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of RequestActivationResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-