Package model
Class PaymentInstrumentUpdatesListEmbedded
- java.lang.Object
-
- model.PaymentInstrumentUpdatesListEmbedded
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class PaymentInstrumentUpdatesListEmbedded extends Object
List of `updates` for a `Payment Instrument`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentInstrumentUpdatesListEmbedded.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_UPDATES
-
Constructor Summary
Constructors Constructor Description PaymentInstrumentUpdatesListEmbedded()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentInstrumentUpdatesListEmbeddedaddUpdatesItem(InstrumentUpdate updatesItem)booleanequals(Object o)static PaymentInstrumentUpdatesListEmbeddedfromJson(String jsonString)Create an instance of PaymentInstrumentUpdatesListEmbedded given an JSON stringSet<InstrumentUpdate>getUpdates()`Update` objects.inthashCode()voidsetUpdates(Set<InstrumentUpdate> updates)StringtoJson()Convert an instance of PaymentInstrumentUpdatesListEmbedded to an JSON stringStringtoString()PaymentInstrumentUpdatesListEmbeddedupdates(Set<InstrumentUpdate> updates)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
updates
public PaymentInstrumentUpdatesListEmbedded updates(Set<InstrumentUpdate> updates)
-
addUpdatesItem
public PaymentInstrumentUpdatesListEmbedded addUpdatesItem(InstrumentUpdate updatesItem)
-
getUpdates
@Nullable public Set<InstrumentUpdate> getUpdates()
`Update` objects.- Returns:
- updates
-
setUpdates
public void setUpdates(Set<InstrumentUpdate> updates)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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 PaymentInstrumentUpdatesListEmbedded
-
fromJson
public static PaymentInstrumentUpdatesListEmbedded fromJson(String jsonString) throws IOException
Create an instance of PaymentInstrumentUpdatesListEmbedded given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentInstrumentUpdatesListEmbedded
- Throws:
IOException- if the JSON string is invalid with respect to PaymentInstrumentUpdatesListEmbedded
-
toJson
public String toJson()
Convert an instance of PaymentInstrumentUpdatesListEmbedded to an JSON string- Returns:
- JSON string
-
-