toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.payments
/
OrderInfo
Order
Info
@
Serializable
data
class
OrderInfo
(
val
name
:
String
?
,
val
phoneNumber
:
String
?
,
val
email
:
String
?
,
val
shippingAddress
:
ShippingAddress
?
)
All the field of this class are nullable due to specific of
OrderInfo
from official bots api
See also
Common
Send
Invoice
Data
Send
Invoice
Members
Constructors
Order
Info
Link copied to clipboard
constructor
(
name
:
String
?
,
phoneNumber
:
String
?
,
email
:
String
?
,
shippingAddress
:
ShippingAddress
?
)
Properties
email
Link copied to clipboard
@
SerialName
(
value
=
"email"
)
val
email
:
String
?
name
Link copied to clipboard
@
SerialName
(
value
=
"name"
)
val
name
:
String
?
phone
Number
Link copied to clipboard
@
SerialName
(
value
=
"phone_number"
)
val
phoneNumber
:
String
?
shipping
Address
Link copied to clipboard
@
SerialName
(
value
=
"shipping_address"
)
val
shippingAddress
:
ShippingAddress
?