Class OrderInfo

java.lang.Object
io.micronaut.chatbots.telegram.api.OrderInfo

public class OrderInfo extends Object
This object represents information about an order.
See Also:
  • Constructor Details

    • OrderInfo

      public OrderInfo()
  • Method Details

    • getName

      @Nullable public @Nullable String getName()
      Returns:
      User name.
    • setName

      public void setName(@Nullable @Nullable String name)
      Parameters:
      name - User name.
    • getPhoneNumber

      @Nullable public @Nullable String getPhoneNumber()
      Returns:
      User's phone number.
    • setPhoneNumber

      public void setPhoneNumber(@Nullable @Nullable String phoneNumber)
      Parameters:
      phoneNumber - User's phone number.
    • getEmail

      @Nullable public @Nullable String getEmail()
      Returns:
      User email.
    • setEmail

      public void setEmail(@Nullable @Nullable String email)
      Parameters:
      email - User email.
    • getShippingAddress

      @Nullable public @Nullable ShippingAddress getShippingAddress()
      Returns:
      User shipping address.
    • setShippingAddress

      public void setShippingAddress(@Nullable @Nullable ShippingAddress shippingAddress)
      Parameters:
      shippingAddress - User shipping address.
    • toString

      public String toString()
      Overrides:
      toString in class Object