Package com.adyen.model.checkout
Class PaymentMethodIssuer
- java.lang.Object
-
- com.adyen.model.checkout.PaymentMethodIssuer
-
public class PaymentMethodIssuer extends Object
PaymentMethodIssuer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentMethodIssuer.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DISABLEDstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_NAME
-
Constructor Summary
Constructors Constructor Description PaymentMethodIssuer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentMethodIssuerdisabled(Boolean disabled)booleanequals(Object o)static PaymentMethodIssuerfromJson(String jsonString)Create an instance of PaymentMethodIssuer given an JSON stringBooleangetDisabled()A boolean value indicating whether this issuer is unavailable.StringgetId()The unique identifier of this issuer, to submit in requests to /payments.StringgetName()A localized name of the issuer.inthashCode()PaymentMethodIssuerid(String id)PaymentMethodIssuername(String name)voidsetDisabled(Boolean disabled)voidsetId(String id)voidsetName(String name)StringtoJson()Convert an instance of PaymentMethodIssuer 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_DISABLED
public static final String SERIALIZED_NAME_DISABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
disabled
public PaymentMethodIssuer disabled(Boolean disabled)
-
getDisabled
public Boolean getDisabled()
A boolean value indicating whether this issuer is unavailable. Can be `true` whenever the issuer is offline.- Returns:
- disabled
-
setDisabled
public void setDisabled(Boolean disabled)
-
id
public PaymentMethodIssuer id(String id)
-
getId
public String getId()
The unique identifier of this issuer, to submit in requests to /payments.- Returns:
- id
-
setId
public void setId(String id)
-
name
public PaymentMethodIssuer name(String name)
-
getName
public String getName()
A localized name of the issuer.- Returns:
- name
-
setName
public void setName(String name)
-
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 PaymentMethodIssuer
-
fromJson
public static PaymentMethodIssuer fromJson(String jsonString) throws IOException
Create an instance of PaymentMethodIssuer given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentMethodIssuer
- Throws:
IOException- if the JSON string is invalid with respect to PaymentMethodIssuer
-
toJson
public String toJson()
Convert an instance of PaymentMethodIssuer to an JSON string- Returns:
- JSON string
-
-