java.lang.Object
com.liferay.headless.commerce.delivery.cart.dto.v1_0.PaymentMethod
All Implemented Interfaces:
Serializable

@Generated("") public class PaymentMethod extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • description

      protected String description
    • key

      protected String key
    • name

      protected String name
    • xClassName

      public String xClassName
  • Constructor Details

    • PaymentMethod

      public PaymentMethod()
  • Method Details

    • toDTO

      public static PaymentMethod toDTO(String json)
    • unsafeToDTO

      public static PaymentMethod unsafeToDTO(String json)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • setDescription

      public void setDescription(com.liferay.petra.function.UnsafeSupplier<String,Exception> descriptionUnsafeSupplier)
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • setKey

      public void setKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> keyUnsafeSupplier)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setName

      public void setName(com.liferay.petra.function.UnsafeSupplier<String,Exception> nameUnsafeSupplier)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object