Package com.adyen.model.management
Class SofortInfo
- java.lang.Object
-
- com.adyen.model.management.SofortInfo
-
public class SofortInfo extends Object
SofortInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CURRENCY_CODEstatic StringJSON_PROPERTY_LOGO
-
Constructor Summary
Constructors Constructor Description SofortInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SofortInfocurrencyCode(String currencyCode)booleanequals(Object o)Return true if this SofortInfo object is equal to o.static SofortInfofromJson(String jsonString)Create an instance of SofortInfo given an JSON stringStringgetCurrencyCode()Sofort currency code.StringgetLogo()Sofort logo.inthashCode()SofortInfologo(String logo)voidsetCurrencyCode(String currencyCode)Sofort currency code.voidsetLogo(String logo)Sofort logo.StringtoJson()Convert an instance of SofortInfo to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CURRENCY_CODE
public static final String JSON_PROPERTY_CURRENCY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOGO
public static final String JSON_PROPERTY_LOGO
- See Also:
- Constant Field Values
-
-
Method Detail
-
currencyCode
public SofortInfo currencyCode(String currencyCode)
-
getCurrencyCode
public String getCurrencyCode()
Sofort currency code. For example, **EUR**.- Returns:
- currencyCode
-
setCurrencyCode
public void setCurrencyCode(String currencyCode)
Sofort currency code. For example, **EUR**.- Parameters:
currencyCode-
-
logo
public SofortInfo logo(String logo)
-
getLogo
public String getLogo()
Sofort logo. Format: Base64-encoded string.- Returns:
- logo
-
setLogo
public void setLogo(String logo)
Sofort logo. Format: Base64-encoded string.- Parameters:
logo-
-
equals
public boolean equals(Object o)
Return true if this SofortInfo object is equal to o.
-
fromJson
public static SofortInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of SofortInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SofortInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to SofortInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of SofortInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-