Class KeyValuePair

java.lang.Object
io.trippay.sdk.payment.model.KeyValuePair

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-25T08:58:01.141341582+07:00[Asia/Bangkok]") public class KeyValuePair extends Object
KeyValuePair
  • Field Details

  • Constructor Details

    • KeyValuePair

      public KeyValuePair()
  • Method Details

    • value

      public KeyValuePair value(String value)
    • getValue

      @Nonnull @NotNull public @NotNull String getValue()
      The value that should be persisted.
      Returns:
      value
    • setValue

      public void setValue(String value)
    • label

      public KeyValuePair label(String label)
    • getLabel

      @Nonnull @NotNull public @NotNull String getLabel()
      English readable text of the value.
      Returns:
      label
    • setLabel

      public void setLabel(String label)
    • 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