Package com.adyen.model.management
Class Payment
- java.lang.Object
-
- com.adyen.model.management.Payment
-
public class Payment extends Object
Payment
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HIDE_MINOR_UNITS_IN_CURRENCIES
-
Constructor Summary
Constructors Constructor Description Payment()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentaddHideMinorUnitsInCurrenciesItem(String hideMinorUnitsInCurrenciesItem)booleanequals(Object o)Return true if this Payment object is equal to o.static PaymentfromJson(String jsonString)Create an instance of Payment given an JSON stringList<String>getHideMinorUnitsInCurrencies()Hides the minor units for the listed [ISO currency codes](https://en.wikipedia.org/wiki/ISO_4217).inthashCode()PaymenthideMinorUnitsInCurrencies(List<String> hideMinorUnitsInCurrencies)voidsetHideMinorUnitsInCurrencies(List<String> hideMinorUnitsInCurrencies)StringtoJson()Convert an instance of Payment to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_HIDE_MINOR_UNITS_IN_CURRENCIES
public static final String JSON_PROPERTY_HIDE_MINOR_UNITS_IN_CURRENCIES
- See Also:
- Constant Field Values
-
-
Method Detail
-
hideMinorUnitsInCurrencies
public Payment hideMinorUnitsInCurrencies(List<String> hideMinorUnitsInCurrencies)
-
addHideMinorUnitsInCurrenciesItem
public Payment addHideMinorUnitsInCurrenciesItem(String hideMinorUnitsInCurrenciesItem)
-
getHideMinorUnitsInCurrencies
public List<String> getHideMinorUnitsInCurrencies()
Hides the minor units for the listed [ISO currency codes](https://en.wikipedia.org/wiki/ISO_4217).- Returns:
- hideMinorUnitsInCurrencies
-
setHideMinorUnitsInCurrencies
public void setHideMinorUnitsInCurrencies(List<String> hideMinorUnitsInCurrencies)
-
equals
public boolean equals(Object o)
Return true if this Payment object is equal to o.
-
fromJson
public static Payment fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Payment given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Payment
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Payment
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Payment to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-