Package model
Class Name
java.lang.Object
model.Name
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class Name
extends Object
Name
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic NameCreate an instance of Name given an JSON stringThe first name of the `Payment Instrument` owner.The full name of the `Payment Instrument` owner.The last name of the `Payment Instrument` owner.getValue()Get valueinthashCode()voidsetFirstName(String firstName) voidsetFullName(String fullName) voidsetLastName(String lastName) voidtoJson()Convert an instance of Name to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FIRST_NAME
- See Also:
-
SERIALIZED_NAME_FULL_NAME
- See Also:
-
SERIALIZED_NAME_LAST_NAME
- See Also:
-
SERIALIZED_NAME_VALUE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Name
public Name()
-
-
Method Details
-
firstName
-
getFirstName
The first name of the `Payment Instrument` owner.- Returns:
- firstName
-
setFirstName
-
fullName
-
getFullName
The full name of the `Payment Instrument` owner.- Returns:
- fullName
-
setFullName
-
lastName
-
getLastName
The last name of the `Payment Instrument` owner.- Returns:
- lastName
-
setLastName
-
value
-
getValue
Get value- Returns:
- value
-
setValue
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to Name
-
fromJson
Create an instance of Name given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Name
- Throws:
IOException- if the JSON string is invalid with respect to Name
-
toJson
Convert an instance of Name to an JSON string- Returns:
- JSON string
-