Class OrderInfo
This object represents information about an order.
Inheritance
System.Object
OrderInfo
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TelegramBotApi.Types.Payment
Assembly: TelegramBotApi.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn, ItemNullValueHandling = NullValueHandling.Ignore)]
public class OrderInfo
Properties
| Improve this Doc View SourceOptional. User email
Declaration
[JsonProperty(PropertyName = "email")]
public string Email { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Optional. User name
Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PhoneNumber
Optional. User's phone number
Declaration
[JsonProperty(PropertyName = "phone_number")]
public string PhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ShippingAddress
Optional. User shipping address
Declaration
[JsonProperty(PropertyName = "shipping_address")]
public ShippingAddress ShippingAddress { get; set; }
Property Value
Type | Description |
---|---|
ShippingAddress |