Package com.adyen.model.management
Class VippsInfo
- java.lang.Object
-
- com.adyen.model.management.VippsInfo
-
public class VippsInfo extends Object
VippsInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVippsInfo.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_LOGOstatic StringSERIALIZED_NAME_SUBSCRIPTION_CANCEL_URL
-
Constructor Summary
Constructors Constructor Description VippsInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static VippsInfofromJson(String jsonString)Create an instance of VippsInfo given an JSON stringStringgetLogo()Vipps logo.StringgetSubscriptionCancelUrl()Vipps subscription cancel url (required in case of [recurring payments](https://docs.adyen.com/online-payments/tokenization))inthashCode()VippsInfologo(String logo)voidsetLogo(String logo)voidsetSubscriptionCancelUrl(String subscriptionCancelUrl)VippsInfosubscriptionCancelUrl(String subscriptionCancelUrl)StringtoJson()Convert an instance of VippsInfo 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_LOGO
public static final String SERIALIZED_NAME_LOGO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUBSCRIPTION_CANCEL_URL
public static final String SERIALIZED_NAME_SUBSCRIPTION_CANCEL_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLogo
public String getLogo()
Vipps logo. Format: Base64-encoded string.- Returns:
- logo
-
setLogo
public void setLogo(String logo)
-
getSubscriptionCancelUrl
public String getSubscriptionCancelUrl()
Vipps subscription cancel url (required in case of [recurring payments](https://docs.adyen.com/online-payments/tokenization))- Returns:
- subscriptionCancelUrl
-
setSubscriptionCancelUrl
public void setSubscriptionCancelUrl(String subscriptionCancelUrl)
-
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 VippsInfo
-
fromJson
public static VippsInfo fromJson(String jsonString) throws IOException
Create an instance of VippsInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VippsInfo
- Throws:
IOException- if the JSON string is invalid with respect to VippsInfo
-
toJson
public String toJson()
Convert an instance of VippsInfo to an JSON string- Returns:
- JSON string
-
-