Package com.adyen.model.management
Class RequestActivationResponse
- java.lang.Object
-
- com.adyen.model.management.RequestActivationResponse
-
public class RequestActivationResponse extends Object
RequestActivationResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRequestActivationResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_COMPANY_IDstatic StringSERIALIZED_NAME_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)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)voidsetMerchantId(String merchantId)StringtoJson()Convert an instance of RequestActivationResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_COMPANY_ID
public static final String SERIALIZED_NAME_COMPANY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT_ID
public static final String SERIALIZED_NAME_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)
-
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)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to RequestActivationResponse
-
fromJson
public static RequestActivationResponse fromJson(String jsonString) throws IOException
Create an instance of RequestActivationResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RequestActivationResponse
- Throws:
IOException- if the JSON string is invalid with respect to RequestActivationResponse
-
toJson
public String toJson()
Convert an instance of RequestActivationResponse to an JSON string- Returns:
- JSON string
-
-