Class PaymentInstrumentNotificationData
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.PaymentInstrumentNotificationData
-
public class PaymentInstrumentNotificationData extends Object
PaymentInstrumentNotificationData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BALANCE_PLATFORMstatic StringJSON_PROPERTY_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)The unique identifier of the balance platform.booleanequals(Object o)Return true if this PaymentInstrumentNotificationData object is equal to o.static PaymentInstrumentNotificationDatafromJson(String jsonString)Create an instance of PaymentInstrumentNotificationData given an JSON stringStringgetBalancePlatform()The unique identifier of the balance platform.PaymentInstrumentgetPaymentInstrument()paymentInstrumentinthashCode()PaymentInstrumentNotificationDatapaymentInstrument(PaymentInstrument paymentInstrument)paymentInstrumentvoidsetBalancePlatform(String balancePlatform)The unique identifier of the balance platform.voidsetPaymentInstrument(PaymentInstrument paymentInstrument)paymentInstrumentStringtoJson()Convert an instance of PaymentInstrumentNotificationData to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BALANCE_PLATFORM
public static final String JSON_PROPERTY_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_INSTRUMENT
public static final String JSON_PROPERTY_PAYMENT_INSTRUMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
balancePlatform
public PaymentInstrumentNotificationData balancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform-- Returns:
- the current
PaymentInstrumentNotificationDatainstance, allowing for method chaining
-
getBalancePlatform
public String getBalancePlatform()
The unique identifier of the balance platform.- Returns:
- balancePlatform
-
setBalancePlatform
public void setBalancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform-
-
paymentInstrument
public PaymentInstrumentNotificationData paymentInstrument(PaymentInstrument paymentInstrument)
paymentInstrument- Parameters:
paymentInstrument-- Returns:
- the current
PaymentInstrumentNotificationDatainstance, allowing for method chaining
-
getPaymentInstrument
public PaymentInstrument getPaymentInstrument()
paymentInstrument- Returns:
- paymentInstrument
-
setPaymentInstrument
public void setPaymentInstrument(PaymentInstrument paymentInstrument)
paymentInstrument- Parameters:
paymentInstrument-
-
equals
public boolean equals(Object o)
Return true if this PaymentInstrumentNotificationData object is equal to o.
-
fromJson
public static PaymentInstrumentNotificationData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentInstrumentNotificationData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentInstrumentNotificationData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentInstrumentNotificationData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaymentInstrumentNotificationData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-