Class PaymentInstrumentNotificationData
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.PaymentInstrumentNotificationData
-
public class PaymentInstrumentNotificationData extends Object
PaymentInstrumentNotificationData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentInstrumentNotificationData.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BALANCE_PLATFORMstatic StringSERIALIZED_NAME_PAYMENT_INSTRUMENT
-
Constructor Summary
Constructors Constructor Description PaymentInstrumentNotificationData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentInstrumentNotificationDatabalancePlatform(String balancePlatform)booleanequals(Object o)static PaymentInstrumentNotificationDatafromJson(String jsonString)Create an instance of PaymentInstrumentNotificationData given an JSON stringStringgetBalancePlatform()The unique identifier of the balance platform.PaymentInstrumentgetPaymentInstrument()Get paymentInstrumentinthashCode()PaymentInstrumentNotificationDatapaymentInstrument(PaymentInstrument paymentInstrument)voidsetBalancePlatform(String balancePlatform)voidsetPaymentInstrument(PaymentInstrument paymentInstrument)StringtoJson()Convert an instance of PaymentInstrumentNotificationData 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_BALANCE_PLATFORM
public static final String SERIALIZED_NAME_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAYMENT_INSTRUMENT
public static final String SERIALIZED_NAME_PAYMENT_INSTRUMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
balancePlatform
public PaymentInstrumentNotificationData balancePlatform(String balancePlatform)
-
getBalancePlatform
public String getBalancePlatform()
The unique identifier of the balance platform.- Returns:
- balancePlatform
-
setBalancePlatform
public void setBalancePlatform(String balancePlatform)
-
paymentInstrument
public PaymentInstrumentNotificationData paymentInstrument(PaymentInstrument paymentInstrument)
-
getPaymentInstrument
public PaymentInstrument getPaymentInstrument()
Get paymentInstrument- Returns:
- paymentInstrument
-
setPaymentInstrument
public void setPaymentInstrument(PaymentInstrument paymentInstrument)
-
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 PaymentInstrumentNotificationData
-
fromJson
public static PaymentInstrumentNotificationData fromJson(String jsonString) throws IOException
Create an instance of PaymentInstrumentNotificationData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentInstrumentNotificationData
- Throws:
IOException- if the JSON string is invalid with respect to PaymentInstrumentNotificationData
-
toJson
public String toJson()
Convert an instance of PaymentInstrumentNotificationData to an JSON string- Returns:
- JSON string
-
-