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)The unique identifier of the company account.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.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetMerchantId()The unique identifier of the merchant account you requested to activate.inthashCode()RequestActivationResponseincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.RequestActivationResponsemerchantId(String merchantId)The unique identifier of the merchant account you requested to activate.voidsetCompanyId(String companyId)The unique identifier of the company account.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.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)
The unique identifier of the company account.- Parameters:
companyId- The unique identifier of the company account.- Returns:
- the current
RequestActivationResponseinstance, allowing for method chaining
-
getCompanyId
public String getCompanyId()
The unique identifier of the company account.- Returns:
- companyId The unique identifier of the company account.
-
setCompanyId
public void setCompanyId(String companyId)
The unique identifier of the company account.- Parameters:
companyId- The unique identifier of the company account.
-
merchantId
public RequestActivationResponse merchantId(String merchantId)
The unique identifier of the merchant account you requested to activate.- Parameters:
merchantId- The unique identifier of the merchant account you requested to activate.- Returns:
- the current
RequestActivationResponseinstance, allowing for method chaining
-
getMerchantId
public String getMerchantId()
The unique identifier of the merchant account you requested to activate.- Returns:
- merchantId The unique identifier of the merchant account you requested to activate.
-
setMerchantId
public void setMerchantId(String merchantId)
The unique identifier of the merchant account you requested to activate.- Parameters:
merchantId- The unique identifier of the merchant account you requested to activate.
-
includeNullValues
public RequestActivationResponse includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this RequestActivationResponse object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-