ServiceResponse.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. using System;
  2. using System.Xml.Serialization;
  3. namespace Wayne.FDCPOSLibrary
  4. {
  5. [System.SerializableAttribute()]
  6. public partial class ServiceResponse
  7. {
  8. private string requestTypeField;
  9. private string applicationSenderField;
  10. private string workstationIDField;
  11. private string requestIDField;
  12. private string overallResultField;
  13. [System.Xml.Serialization.XmlAttributeAttribute()]
  14. public string RequestType
  15. {
  16. get
  17. {
  18. return this.requestTypeField;
  19. }
  20. set
  21. {
  22. this.requestTypeField = value;
  23. }
  24. }
  25. [System.Xml.Serialization.XmlAttributeAttribute()]
  26. public string ApplicationSender
  27. {
  28. get
  29. {
  30. return this.applicationSenderField;
  31. }
  32. set
  33. {
  34. this.applicationSenderField = value;
  35. }
  36. }
  37. [System.Xml.Serialization.XmlAttributeAttribute()]
  38. public string WorkstationID
  39. {
  40. get
  41. {
  42. return this.workstationIDField;
  43. }
  44. set
  45. {
  46. this.workstationIDField = value;
  47. }
  48. }
  49. [System.Xml.Serialization.XmlAttributeAttribute()]
  50. public string RequestID
  51. {
  52. get
  53. {
  54. return this.requestIDField;
  55. }
  56. set
  57. {
  58. this.requestIDField = value;
  59. }
  60. }
  61. [System.Xml.Serialization.XmlIgnore()]
  62. public int RequestIDNumber
  63. {
  64. get
  65. {
  66. try
  67. {
  68. return Convert.ToInt32(this.requestIDField);
  69. }
  70. catch (Exception)
  71. {
  72. return 0;
  73. }
  74. }
  75. }
  76. [System.Xml.Serialization.XmlAttributeAttribute()]
  77. public string OverallResult
  78. {
  79. get
  80. {
  81. return this.overallResultField;
  82. }
  83. set
  84. {
  85. this.overallResultField = value;
  86. }
  87. }
  88. public ServiceResponse()
  89. {
  90. }
  91. }
  92. }