Package model

Class PaymentInstrumentsListEmbedded

java.lang.Object
model.PaymentInstrumentsListEmbedded

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]") public class PaymentInstrumentsListEmbedded extends Object
PaymentInstrumentsListEmbedded
  • Field Details

    • SERIALIZED_NAME_PAYMENT_INSTRUMENTS

      public static final String SERIALIZED_NAME_PAYMENT_INSTRUMENTS
      See Also:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • Constructor Details

    • PaymentInstrumentsListEmbedded

      public PaymentInstrumentsListEmbedded()
  • Method Details

    • paymentInstruments

      public PaymentInstrumentsListEmbedded paymentInstruments(Set<PaymentInstrument> paymentInstruments)
    • addPaymentInstrumentsItem

      public PaymentInstrumentsListEmbedded addPaymentInstrumentsItem(PaymentInstrument paymentInstrumentsItem)
    • getPaymentInstruments

      @Nullable public Set<PaymentInstrument> getPaymentInstruments()
      List of `Payment Instruments`.
      Returns:
      paymentInstruments
    • setPaymentInstruments

      public void setPaymentInstruments(Set<PaymentInstrument> paymentInstruments)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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 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