Class OrderInfo
java.lang.Object
io.micronaut.chatbots.telegram.api.OrderInfo
This object represents information about an order.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
getEmail()
@Nullable String
getName()
@Nullable String
@Nullable ShippingAddress
void
void
void
setPhoneNumber
(@Nullable String phoneNumber) void
setShippingAddress
(@Nullable ShippingAddress shippingAddress) toString()
-
Constructor Details
-
OrderInfo
public OrderInfo()
-
-
Method Details
-
getName
- Returns:
- User name.
-
setName
- Parameters:
name
- User name.
-
getPhoneNumber
- Returns:
- User's phone number.
-
setPhoneNumber
- Parameters:
phoneNumber
- User's phone number.
-
getEmail
- Returns:
- User email.
-
setEmail
- Parameters:
email
- User email.
-
getShippingAddress
- Returns:
- User shipping address.
-
setShippingAddress
- Parameters:
shippingAddress
- User shipping address.
-
toString
-