Class Financier
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.Financier
-
public class Financier extends Object
Financier
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AMOUNTstatic StringJSON_PROPERTY_FIRST_NAMEstatic StringJSON_PROPERTY_LAST_NAMEstatic StringJSON_PROPERTY_LOCATION
-
Constructor Summary
Constructors Constructor Description Financier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Financieramount(Amount amount)amountbooleanequals(Object o)Return true if this Financier object is equal to o.FinancierfirstName(String firstName)The financier's first name.static FinancierfromJson(String jsonString)Create an instance of Financier given an JSON stringAmountgetAmount()Get amountMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetFirstName()The financier's first name.StringgetLastName()The financier's last name.StringgetLocation()The city and country/region where the financier is currently located.inthashCode()FinancierincludeNullValues(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.FinancierlastName(String lastName)The financier's last name.Financierlocation(String location)The city and country/region where the financier is currently located.voidsetAmount(Amount amount)amountvoidsetFirstName(String firstName)The financier's first name.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetLastName(String lastName)The financier's last name.voidsetLocation(String location)The city and country/region where the financier is currently located.StringtoJson()Convert an instance of Financier to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_AMOUNT
public static final String JSON_PROPERTY_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FIRST_NAME
public static final String JSON_PROPERTY_FIRST_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_NAME
public static final String JSON_PROPERTY_LAST_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOCATION
public static final String JSON_PROPERTY_LOCATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
amount
public Financier amount(Amount amount)
amount- Parameters:
amount-- Returns:
- the current
Financierinstance, allowing for method chaining
-
getAmount
public Amount getAmount()
Get amount- Returns:
- amount
-
setAmount
public void setAmount(Amount amount)
amount- Parameters:
amount-
-
firstName
public Financier firstName(String firstName)
The financier's first name.- Parameters:
firstName- The financier's first name.- Returns:
- the current
Financierinstance, allowing for method chaining
-
getFirstName
public String getFirstName()
The financier's first name.- Returns:
- firstName The financier's first name.
-
setFirstName
public void setFirstName(String firstName)
The financier's first name.- Parameters:
firstName- The financier's first name.
-
lastName
public Financier lastName(String lastName)
The financier's last name.- Parameters:
lastName- The financier's last name.- Returns:
- the current
Financierinstance, allowing for method chaining
-
getLastName
public String getLastName()
The financier's last name.- Returns:
- lastName The financier's last name.
-
setLastName
public void setLastName(String lastName)
The financier's last name.- Parameters:
lastName- The financier's last name.
-
location
public Financier location(String location)
The city and country/region where the financier is currently located. For example: Chicago, USA- Parameters:
location- The city and country/region where the financier is currently located. For example: Chicago, USA- Returns:
- the current
Financierinstance, allowing for method chaining
-
getLocation
public String getLocation()
The city and country/region where the financier is currently located. For example: Chicago, USA- Returns:
- location The city and country/region where the financier is currently located. For example: Chicago, USA
-
setLocation
public void setLocation(String location)
The city and country/region where the financier is currently located. For example: Chicago, USA- Parameters:
location- The city and country/region where the financier is currently located. For example: Chicago, USA
-
includeNullValues
public Financier 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 Financier 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 Financier fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Financier given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Financier
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Financier
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Financier to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-