OrderInfo

@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

Constructors

Link copied to clipboard
constructor(name: String?, phoneNumber: String?, email: String?, shippingAddress: ShippingAddress?)

Properties

Link copied to clipboard
@SerialName(value = "email")
val email: String?
Link copied to clipboard
@SerialName(value = "name")
val name: String?
Link copied to clipboard
@SerialName(value = "phone_number")
val phoneNumber: String?
Link copied to clipboard
@SerialName(value = "shipping_address")
val shippingAddress: ShippingAddress?