Package com.adyen.model.balanceplatform
Class MerchantAcquirerPair
- java.lang.Object
-
- com.adyen.model.balanceplatform.MerchantAcquirerPair
-
public class MerchantAcquirerPair extends Object
MerchantAcquirerPair
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMerchantAcquirerPair.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACQUIRER_IDstatic StringSERIALIZED_NAME_MERCHANT_ID
-
Constructor Summary
Constructors Constructor Description MerchantAcquirerPair()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MerchantAcquirerPairacquirerId(String acquirerId)booleanequals(Object o)static MerchantAcquirerPairfromJson(String jsonString)Create an instance of MerchantAcquirerPair given an JSON stringStringgetAcquirerId()The acquirer ID.StringgetMerchantId()The merchant identification number (MID).inthashCode()MerchantAcquirerPairmerchantId(String merchantId)voidsetAcquirerId(String acquirerId)voidsetMerchantId(String merchantId)StringtoJson()Convert an instance of MerchantAcquirerPair to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj, boolean strictValidation)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ACQUIRER_ID
public static final String SERIALIZED_NAME_ACQUIRER_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
-
acquirerId
public MerchantAcquirerPair acquirerId(String acquirerId)
-
getAcquirerId
public String getAcquirerId()
The acquirer ID.- Returns:
- acquirerId
-
setAcquirerId
public void setAcquirerId(String acquirerId)
-
merchantId
public MerchantAcquirerPair merchantId(String merchantId)
-
getMerchantId
public String getMerchantId()
The merchant identification number (MID).- Returns:
- merchantId
-
setMerchantId
public void setMerchantId(String merchantId)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException- Throws:
IOException
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj, boolean strictValidation) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON ObjectstrictValidation- reject (new) fields missing from the specifications- Throws:
IOException- if the JSON Object is invalid with respect to MerchantAcquirerPair
-
fromJson
public static MerchantAcquirerPair fromJson(String jsonString) throws IOException
Create an instance of MerchantAcquirerPair given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MerchantAcquirerPair
- Throws:
IOException- if the JSON string is invalid with respect to MerchantAcquirerPair
-
toJson
public String toJson()
Convert an instance of MerchantAcquirerPair to an JSON string- Returns:
- JSON string
-
-