Package model
Class PaymentInstrumentsListEmbedded
- java.lang.Object
-
- model.PaymentInstrumentsListEmbedded
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class PaymentInstrumentsListEmbedded extends Object
List of `Payment Instrument` objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentInstrumentsListEmbedded.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PAYMENT_INSTRUMENTS
-
Constructor Summary
Constructors Constructor Description PaymentInstrumentsListEmbedded()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentInstrumentsListEmbeddedaddPaymentInstrumentsItem(PaymentInstrument paymentInstrumentsItem)booleanequals(Object o)static PaymentInstrumentsListEmbeddedfromJson(String jsonString)Create an instance of PaymentInstrumentsListEmbedded given an JSON stringSet<PaymentInstrument>getPaymentInstruments()`Payment Instrument` objects.inthashCode()PaymentInstrumentsListEmbeddedpaymentInstruments(Set<PaymentInstrument> paymentInstruments)voidsetPaymentInstruments(Set<PaymentInstrument> paymentInstruments)StringtoJson()Convert an instance of PaymentInstrumentsListEmbedded to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
paymentInstruments
public PaymentInstrumentsListEmbedded paymentInstruments(Set<PaymentInstrument> paymentInstruments)
-
addPaymentInstrumentsItem
public PaymentInstrumentsListEmbedded addPaymentInstrumentsItem(PaymentInstrument paymentInstrumentsItem)
-
getPaymentInstruments
@Nullable public Set<PaymentInstrument> getPaymentInstruments()
`Payment Instrument` objects.- Returns:
- paymentInstruments
-
setPaymentInstruments
public void setPaymentInstruments(Set<PaymentInstrument> paymentInstruments)
-
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 PaymentInstrumentsListEmbedded
-
fromJson
public static PaymentInstrumentsListEmbedded fromJson(String jsonString) throws IOException
Create an instance of PaymentInstrumentsListEmbedded given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentInstrumentsListEmbedded
- Throws:
IOException- if the JSON string is invalid with respect to PaymentInstrumentsListEmbedded
-
toJson
public String toJson()
Convert an instance of PaymentInstrumentsListEmbedded to an JSON string- Returns:
- JSON string
-
-