Package com.adyen.model.management
Class VippsInfo
- java.lang.Object
-
- com.adyen.model.management.VippsInfo
-
public class VippsInfo extends Object
VippsInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_LOGOstatic StringJSON_PROPERTY_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)Return true if this VippsInfo object is equal to 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)Vipps logo.voidsetSubscriptionCancelUrl(String subscriptionCancelUrl)Vipps subscription cancel url (required in case of [recurring payments](https://docs.adyen.com/online-payments/tokenization))VippsInfosubscriptionCancelUrl(String subscriptionCancelUrl)StringtoJson()Convert an instance of VippsInfo to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_LOGO
public static final String JSON_PROPERTY_LOGO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUBSCRIPTION_CANCEL_URL
public static final String JSON_PROPERTY_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)
Vipps logo. Format: Base64-encoded string.- Parameters:
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)
Vipps subscription cancel url (required in case of [recurring payments](https://docs.adyen.com/online-payments/tokenization))- Parameters:
subscriptionCancelUrl-
-
equals
public boolean equals(Object o)
Return true if this VippsInfo object is equal to o.
-
fromJson
public static VippsInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of VippsInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VippsInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to VippsInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of VippsInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-