Class PaymentInstrumentResource
- java.lang.Object
-
- com.adyen.model.sessionauthentication.Resource
-
- com.adyen.model.sessionauthentication.PaymentInstrumentResource
-
public class PaymentInstrumentResource extends Resource
PaymentInstrumentResource
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_PAYMENT_INSTRUMENT_ID-
Fields inherited from class com.adyen.model.sessionauthentication.Resource
JSON_PROPERTY_TYPE
-
-
Constructor Summary
Constructors Constructor Description PaymentInstrumentResource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this PaymentInstrumentResource object is equal to o.static PaymentInstrumentResourcefromJson(String jsonString)Create an instance of PaymentInstrumentResource given an JSON stringStringgetPaymentInstrumentId()Get paymentInstrumentIdinthashCode()PaymentInstrumentResourcepaymentInstrumentId(String paymentInstrumentId)paymentInstrumentIdvoidsetPaymentInstrumentId(String paymentInstrumentId)paymentInstrumentIdStringtoJson()Convert an instance of PaymentInstrumentResource to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_PAYMENT_INSTRUMENT_ID
public static final String JSON_PROPERTY_PAYMENT_INSTRUMENT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
paymentInstrumentId
public PaymentInstrumentResource paymentInstrumentId(String paymentInstrumentId)
paymentInstrumentId- Parameters:
paymentInstrumentId-- Returns:
- the current
PaymentInstrumentResourceinstance, allowing for method chaining
-
getPaymentInstrumentId
public String getPaymentInstrumentId()
Get paymentInstrumentId- Returns:
- paymentInstrumentId
-
setPaymentInstrumentId
public void setPaymentInstrumentId(String paymentInstrumentId)
paymentInstrumentId- Parameters:
paymentInstrumentId-
-
equals
public boolean equals(Object o)
Return true if this PaymentInstrumentResource object is equal to o.
-
fromJson
public static PaymentInstrumentResource fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentInstrumentResource given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentInstrumentResource
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentInstrumentResource
-
-