Package com.adyen.model.checkout
Class PaymentMethodIssuer
- java.lang.Object
-
- com.adyen.model.checkout.PaymentMethodIssuer
-
public class PaymentMethodIssuer extends Object
PaymentMethodIssuer
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DISABLEDstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_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)A boolean value indicating whether this issuer is unavailable.booleanequals(Object o)Return true if this PaymentMethodIssuer object is equal to 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)The unique identifier of this issuer, to submit in requests to /payments.PaymentMethodIssuername(String name)A localized name of the issuer.voidsetDisabled(Boolean disabled)A boolean value indicating whether this issuer is unavailable.voidsetId(String id)The unique identifier of this issuer, to submit in requests to /payments.voidsetName(String name)A localized name of the issuer.StringtoJson()Convert an instance of PaymentMethodIssuer to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DISABLED
public static final String JSON_PROPERTY_DISABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
disabled
public PaymentMethodIssuer disabled(Boolean disabled)
A boolean value indicating whether this issuer is unavailable. Can be `true` whenever the issuer is offline.- Parameters:
disabled-- Returns:
- the current
PaymentMethodIssuerinstance, allowing for method chaining
-
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)
A boolean value indicating whether this issuer is unavailable. Can be `true` whenever the issuer is offline.- Parameters:
disabled-
-
id
public PaymentMethodIssuer id(String id)
The unique identifier of this issuer, to submit in requests to /payments.- Parameters:
id-- Returns:
- the current
PaymentMethodIssuerinstance, allowing for method chaining
-
getId
public String getId()
The unique identifier of this issuer, to submit in requests to /payments.- Returns:
- id
-
setId
public void setId(String id)
The unique identifier of this issuer, to submit in requests to /payments.- Parameters:
id-
-
name
public PaymentMethodIssuer name(String name)
A localized name of the issuer.- Parameters:
name-- Returns:
- the current
PaymentMethodIssuerinstance, allowing for method chaining
-
getName
public String getName()
A localized name of the issuer.- Returns:
- name
-
setName
public void setName(String name)
A localized name of the issuer.- Parameters:
name-
-
equals
public boolean equals(Object o)
Return true if this PaymentMethodIssuer object is equal to o.
-
fromJson
public static PaymentMethodIssuer fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentMethodIssuer given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentMethodIssuer
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentMethodIssuer
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaymentMethodIssuer to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-