Class Receipt
- Namespace
- Inetlab.SMPP.Common
- Assembly
- cs.temp.dll.dll
Represents Delivery receipt, that received within DeliverSm PDU. 
  
  public class Receipt- Inheritance
- 
      ObjectReceipt
Constructors
Receipt()
public Receipt()Properties
Delivered
Number of short messages delivered. 
This is only relevant where the original message was submitted to a distribution list
  
  public int Delivered { get; set; }Property Value
- Int32
DoneDate
The time and date at which the short message reached it�s final state.
  
  public DateTime DoneDate { get; set; }Property Value
- DateTime
ErrorCode
Network specific error code or an SMSC error code for the attempted delivery of the message.
  
  public string ErrorCode { get; set; }Property Value
- String
Items
public SortedList<string, string> Items { get; }Property Value
- SortedList<String, String>
MessageId
The message ID allocated to the message by the SMSC when originally submitted.
You can get it from SUBMIT_SM_RESP.
  
  public string MessageId { get; set; }Property Value
- String
State
The final status of the message.
  
  public MessageState State { get; set; }Property Value
SubmitDate
The time and date at which the short message was submitted.
  
  public DateTime SubmitDate { get; set; }Property Value
- DateTime
Submitted
Number of short messages originally submitted.
This is only relevant when the original message was submitted to a distribution list.
  
  public int Submitted { get; set; }Property Value
- Int32
Text
The first 20 characters of the short message.
  
  public string Text { get; set; }Property Value
- String
Methods
Create(Byte[], Encoding, Encoding)
public static Receipt Create(byte[] messageBytes, Encoding messageEncoding, Encoding textEncoding)Parameters
- messageBytesByte[]
- messageEncodingEncoding
- textEncodingEncoding
Returns
Parse(String)
public void Parse(string text)Parameters
- textString
ToString()
public override string ToString()Returns
- String