Package com.adyen.model.management
Class Standalone
- java.lang.Object
-
- com.adyen.model.management.Standalone
-
public class Standalone extends Object
Standalone
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CURRENCY_CODEstatic StringJSON_PROPERTY_ENABLE_STANDALONE
-
Constructor Summary
Constructors Constructor Description Standalone()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StandalonecurrencyCode(String currencyCode)The default currency of the standalone payment terminal as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.StandaloneenableStandalone(Boolean enableStandalone)Enable standalone mode.booleanequals(Object o)Return true if this Standalone object is equal to o.static StandalonefromJson(String jsonString)Create an instance of Standalone given an JSON stringStringgetCurrencyCode()The default currency of the standalone payment terminal as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.BooleangetEnableStandalone()Enable standalone mode.inthashCode()voidsetCurrencyCode(String currencyCode)The default currency of the standalone payment terminal as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.voidsetEnableStandalone(Boolean enableStandalone)Enable standalone mode.StringtoJson()Convert an instance of Standalone 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_ENABLE_STANDALONE
public static final String JSON_PROPERTY_ENABLE_STANDALONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
currencyCode
public Standalone currencyCode(String currencyCode)
The default currency of the standalone payment terminal as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.- Parameters:
currencyCode-- Returns:
- the current
Standaloneinstance, allowing for method chaining
-
getCurrencyCode
public String getCurrencyCode()
The default currency of the standalone payment terminal as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.- Returns:
- currencyCode
-
setCurrencyCode
public void setCurrencyCode(String currencyCode)
The default currency of the standalone payment terminal as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.- Parameters:
currencyCode-
-
enableStandalone
public Standalone enableStandalone(Boolean enableStandalone)
Enable standalone mode.- Parameters:
enableStandalone-- Returns:
- the current
Standaloneinstance, allowing for method chaining
-
getEnableStandalone
public Boolean getEnableStandalone()
Enable standalone mode.- Returns:
- enableStandalone
-
setEnableStandalone
public void setEnableStandalone(Boolean enableStandalone)
Enable standalone mode.- Parameters:
enableStandalone-
-
equals
public boolean equals(Object o)
Return true if this Standalone object is equal to o.
-
fromJson
public static Standalone fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Standalone given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Standalone
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Standalone
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Standalone to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-