Package com.adyen.model.management
Class GivexResponseInfo
- java.lang.Object
-
- com.adyen.model.management.GivexResponseInfo
-
public class GivexResponseInfo extends Object
GivexResponseInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CURRENCY_CODEstatic StringJSON_PROPERTY_PASSWORDstatic StringJSON_PROPERTY_PAYMENT_FLOWstatic StringJSON_PROPERTY_USERNAME
-
Constructor Summary
Constructors Constructor Description GivexResponseInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GivexResponseInfocurrencyCode(String currencyCode)The three-character ISO currency codebooleanequals(Object o)Return true if this GivexResponseInfo object is equal to o.static GivexResponseInfofromJson(String jsonString)Create an instance of GivexResponseInfo given an JSON stringStringgetCurrencyCode()The three-character ISO currency codeMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetPassword()The password provided by the acquirer.StringgetPaymentFlow()The sales channel used for the payment.StringgetUsername()The username provided by the acquirer.inthashCode()GivexResponseInfoincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.GivexResponseInfopassword(String password)The password provided by the acquirer.GivexResponseInfopaymentFlow(String paymentFlow)The sales channel used for the payment.voidsetCurrencyCode(String currencyCode)The three-character ISO currency codevoidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetPassword(String password)The password provided by the acquirer.voidsetPaymentFlow(String paymentFlow)The sales channel used for the payment.voidsetUsername(String username)The username provided by the acquirer.StringtoJson()Convert an instance of GivexResponseInfo to an JSON stringStringtoString()GivexResponseInfousername(String username)The username provided by the acquirer.
-
-
-
Field Detail
-
JSON_PROPERTY_CURRENCY_CODE
public static final String JSON_PROPERTY_CURRENCY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PASSWORD
public static final String JSON_PROPERTY_PASSWORD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_FLOW
public static final String JSON_PROPERTY_PAYMENT_FLOW
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USERNAME
public static final String JSON_PROPERTY_USERNAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
currencyCode
public GivexResponseInfo currencyCode(String currencyCode)
The three-character ISO currency code- Parameters:
currencyCode- The three-character ISO currency code- Returns:
- the current
GivexResponseInfoinstance, allowing for method chaining
-
getCurrencyCode
public String getCurrencyCode()
The three-character ISO currency code- Returns:
- currencyCode The three-character ISO currency code
-
setCurrencyCode
public void setCurrencyCode(String currencyCode)
The three-character ISO currency code- Parameters:
currencyCode- The three-character ISO currency code
-
password
public GivexResponseInfo password(String password)
The password provided by the acquirer.- Parameters:
password- The password provided by the acquirer.- Returns:
- the current
GivexResponseInfoinstance, allowing for method chaining
-
getPassword
public String getPassword()
The password provided by the acquirer.- Returns:
- password The password provided by the acquirer.
-
setPassword
public void setPassword(String password)
The password provided by the acquirer.- Parameters:
password- The password provided by the acquirer.
-
paymentFlow
public GivexResponseInfo paymentFlow(String paymentFlow)
The sales channel used for the payment.- Parameters:
paymentFlow- The sales channel used for the payment.- Returns:
- the current
GivexResponseInfoinstance, allowing for method chaining
-
getPaymentFlow
public String getPaymentFlow()
The sales channel used for the payment.- Returns:
- paymentFlow The sales channel used for the payment.
-
setPaymentFlow
public void setPaymentFlow(String paymentFlow)
The sales channel used for the payment.- Parameters:
paymentFlow- The sales channel used for the payment.
-
username
public GivexResponseInfo username(String username)
The username provided by the acquirer.- Parameters:
username- The username provided by the acquirer.- Returns:
- the current
GivexResponseInfoinstance, allowing for method chaining
-
getUsername
public String getUsername()
The username provided by the acquirer.- Returns:
- username The username provided by the acquirer.
-
setUsername
public void setUsername(String username)
The username provided by the acquirer.- Parameters:
username- The username provided by the acquirer.
-
includeNullValues
public GivexResponseInfo includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this GivexResponseInfo object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static GivexResponseInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of GivexResponseInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GivexResponseInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to GivexResponseInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of GivexResponseInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-