/release3.0/SCSF2008/ReferenceImpl/BankTellerRI/Source/WebServices/GlobalBankServices/App_Code/CustomerProductsServiceInterfaces.cs

# · C# · 466 lines · 332 code · 69 blank · 65 comment · 0 complexity · d8d8864edf63084f9ee2d0b454b08f8c MD5 · raw file

  1. //===============================================================================
  2. // Microsoft patterns & practices
  3. // Smart Client Software Factory
  4. //===============================================================================
  5. // Copyright (C) Microsoft Corporation. All rights reserved.
  6. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
  7. // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
  8. // LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  9. // FITNESS FOR A PARTICULAR PURPOSE.
  10. //===============================================================================
  11. // The example companies, organizations, products, domain names,
  12. // e-mail addresses, logos, people, places, and events depicted
  13. // herein are fictitious. No association with any real company,
  14. // organization, product, domain name, email address, logo, person,
  15. // places, or events is intended or should be inferred.
  16. //===============================================================================
  17. //------------------------------------------------------------------------------
  18. // <auto-generated>
  19. // This code was generated by a tool.
  20. // Runtime Version:2.0.50727.42
  21. //
  22. // Changes to this file may cause incorrect behavior and will be lost if
  23. // the code is regenerated.
  24. // </auto-generated>
  25. //------------------------------------------------------------------------------
  26. //
  27. // This source code was auto-generated by wsdl, Version=2.0.50727.42.
  28. //
  29. using System;
  30. using System.CodeDom.Compiler;
  31. using System.ComponentModel;
  32. using System.Diagnostics;
  33. using System.Web.Services;
  34. using System.Web.Services.Description;
  35. using System.Web.Services.Protocols;
  36. using System.Xml.Serialization;
  37. namespace GlobalBankServices
  38. {
  39. /// <remarks/>
  40. [GeneratedCode("wsdl", "2.0.50727.42")]
  41. [WebServiceBinding(Name="CustomerProductsServiceSoap", Namespace="http://GlobalBranchServices/2006/05/CustomerProducts")]
  42. public interface ICustomerProductsServiceSoap {
  43. /// <remarks/>
  44. [WebMethod()]
  45. [SoapDocumentMethod("http://GlobalBranchServices/2006/05/CustomerProducts/GetCustomerAccounts", RequestNamespace="http://GlobalBranchServices/2006/05/CustomerProducts", ResponseNamespace="http://GlobalBranchServices/2006/05/CustomerProducts", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)]
  46. [return: XmlElement("getCustomerAccountsResponse", Namespace="http://GlobalBranchServices/2006/05/CustomerProductsMessages.xsd")]
  47. getCustomerAccountsResponseType GetCustomerAccounts([XmlElement(Namespace="http://GlobalBranchServices/2006/05/CustomerProductsMessages.xsd")] getCustomerAccountsRequestType getCustomerAccountsRequest);
  48. }
  49. /// <remarks/>
  50. [GeneratedCode("wsdl", "2.0.50727.42")]
  51. [Serializable()]
  52. [DebuggerStepThrough()]
  53. [DesignerCategory("code")]
  54. [XmlType(Namespace="http://GlobalBranchServices/2006/05/CustomerProductsMessages.xsd")]
  55. public partial class getCustomerAccountsRequestType {
  56. private string customerIdField;
  57. /// <remarks/>
  58. public string customerId {
  59. get {
  60. return this.customerIdField;
  61. }
  62. set {
  63. this.customerIdField = value;
  64. }
  65. }
  66. }
  67. /// <remarks/>
  68. [GeneratedCode("wsdl", "2.0.50727.42")]
  69. [Serializable()]
  70. [DebuggerStepThrough()]
  71. [DesignerCategory("code")]
  72. [XmlType(Namespace="http://GlobalBranchServices/2006/05/CustomerProductsEntities.xsd")]
  73. public partial class creditCardTypeType {
  74. private string typeField;
  75. private decimal maxCreditLimitField;
  76. private float feesField;
  77. private float interestRateField;
  78. private int idField;
  79. /// <remarks/>
  80. public string type {
  81. get {
  82. return this.typeField;
  83. }
  84. set {
  85. this.typeField = value;
  86. }
  87. }
  88. /// <remarks/>
  89. public decimal maxCreditLimit {
  90. get {
  91. return this.maxCreditLimitField;
  92. }
  93. set {
  94. this.maxCreditLimitField = value;
  95. }
  96. }
  97. /// <remarks/>
  98. public float fees {
  99. get {
  100. return this.feesField;
  101. }
  102. set {
  103. this.feesField = value;
  104. }
  105. }
  106. /// <remarks/>
  107. public float interestRate {
  108. get {
  109. return this.interestRateField;
  110. }
  111. set {
  112. this.interestRateField = value;
  113. }
  114. }
  115. /// <remarks/>
  116. [XmlAttribute()]
  117. public int id {
  118. get {
  119. return this.idField;
  120. }
  121. set {
  122. this.idField = value;
  123. }
  124. }
  125. }
  126. /// <remarks/>
  127. [GeneratedCode("wsdl", "2.0.50727.42")]
  128. [Serializable()]
  129. [DebuggerStepThrough()]
  130. [DesignerCategory("code")]
  131. [XmlType(Namespace="http://GlobalBranchServices/2006/05/CustomerProductsEntities.xsd")]
  132. public partial class creditCardType {
  133. private string customerIdField;
  134. private creditCardTypeType accountTypeField;
  135. private decimal cardCreditLimitField;
  136. private decimal availableBalanceField;
  137. private decimal paymentDueField;
  138. private DateTime dateOpenedField;
  139. private DateTime lastPaymentDueField;
  140. private string accountNumberField;
  141. /// <remarks/>
  142. public string customerId {
  143. get {
  144. return this.customerIdField;
  145. }
  146. set {
  147. this.customerIdField = value;
  148. }
  149. }
  150. /// <remarks/>
  151. public creditCardTypeType accountType {
  152. get {
  153. return this.accountTypeField;
  154. }
  155. set {
  156. this.accountTypeField = value;
  157. }
  158. }
  159. /// <remarks/>
  160. public decimal cardCreditLimit {
  161. get {
  162. return this.cardCreditLimitField;
  163. }
  164. set {
  165. this.cardCreditLimitField = value;
  166. }
  167. }
  168. /// <remarks/>
  169. public decimal availableBalance {
  170. get {
  171. return this.availableBalanceField;
  172. }
  173. set {
  174. this.availableBalanceField = value;
  175. }
  176. }
  177. /// <remarks/>
  178. public decimal paymentDue {
  179. get {
  180. return this.paymentDueField;
  181. }
  182. set {
  183. this.paymentDueField = value;
  184. }
  185. }
  186. /// <remarks/>
  187. [XmlElement(DataType="date")]
  188. public DateTime dateOpened {
  189. get {
  190. return this.dateOpenedField;
  191. }
  192. set {
  193. this.dateOpenedField = value;
  194. }
  195. }
  196. /// <remarks/>
  197. [XmlElement(DataType="date")]
  198. public DateTime lastPaymentDue {
  199. get {
  200. return this.lastPaymentDueField;
  201. }
  202. set {
  203. this.lastPaymentDueField = value;
  204. }
  205. }
  206. /// <remarks/>
  207. [XmlAttribute()]
  208. public string accountNumber {
  209. get {
  210. return this.accountNumberField;
  211. }
  212. set {
  213. this.accountNumberField = value;
  214. }
  215. }
  216. }
  217. /// <remarks/>
  218. [GeneratedCode("wsdl", "2.0.50727.42")]
  219. [Serializable()]
  220. [DebuggerStepThrough()]
  221. [DesignerCategory("code")]
  222. [XmlType(Namespace="http://GlobalBranchServices/2006/05/CustomerProductsEntities.xsd")]
  223. public partial class accountTypeType {
  224. private string typeField;
  225. private float feesField;
  226. private int maxMonthlyTransactionField;
  227. private float interestRateField;
  228. private int idField;
  229. /// <remarks/>
  230. public string type {
  231. get {
  232. return this.typeField;
  233. }
  234. set {
  235. this.typeField = value;
  236. }
  237. }
  238. /// <remarks/>
  239. public float fees {
  240. get {
  241. return this.feesField;
  242. }
  243. set {
  244. this.feesField = value;
  245. }
  246. }
  247. /// <remarks/>
  248. public int maxMonthlyTransaction {
  249. get {
  250. return this.maxMonthlyTransactionField;
  251. }
  252. set {
  253. this.maxMonthlyTransactionField = value;
  254. }
  255. }
  256. /// <remarks/>
  257. public float interestRate {
  258. get {
  259. return this.interestRateField;
  260. }
  261. set {
  262. this.interestRateField = value;
  263. }
  264. }
  265. /// <remarks/>
  266. [XmlAttribute()]
  267. public int id {
  268. get {
  269. return this.idField;
  270. }
  271. set {
  272. this.idField = value;
  273. }
  274. }
  275. }
  276. /// <remarks/>
  277. [GeneratedCode("wsdl", "2.0.50727.42")]
  278. [Serializable()]
  279. [DebuggerStepThrough()]
  280. [DesignerCategory("code")]
  281. [XmlType(Namespace="http://GlobalBranchServices/2006/05/CustomerProductsEntities.xsd")]
  282. public partial class accountType {
  283. private string customerIdField;
  284. private accountTypeType accountType1Field;
  285. private decimal balanceField;
  286. private DateTime dateOpenedField;
  287. private DateTime lastTransactionAtField;
  288. private float interestRateField;
  289. private string accountNumberField;
  290. /// <remarks/>
  291. public string customerId {
  292. get {
  293. return this.customerIdField;
  294. }
  295. set {
  296. this.customerIdField = value;
  297. }
  298. }
  299. /// <remarks/>
  300. [XmlElement("accountType")]
  301. public accountTypeType accountType1 {
  302. get {
  303. return this.accountType1Field;
  304. }
  305. set {
  306. this.accountType1Field = value;
  307. }
  308. }
  309. /// <remarks/>
  310. public decimal balance {
  311. get {
  312. return this.balanceField;
  313. }
  314. set {
  315. this.balanceField = value;
  316. }
  317. }
  318. /// <remarks/>
  319. [XmlElement(DataType="date")]
  320. public DateTime dateOpened {
  321. get {
  322. return this.dateOpenedField;
  323. }
  324. set {
  325. this.dateOpenedField = value;
  326. }
  327. }
  328. /// <remarks/>
  329. public DateTime lastTransactionAt {
  330. get {
  331. return this.lastTransactionAtField;
  332. }
  333. set {
  334. this.lastTransactionAtField = value;
  335. }
  336. }
  337. /// <remarks/>
  338. public float interestRate {
  339. get {
  340. return this.interestRateField;
  341. }
  342. set {
  343. this.interestRateField = value;
  344. }
  345. }
  346. /// <remarks/>
  347. [XmlAttribute()]
  348. public string accountNumber {
  349. get {
  350. return this.accountNumberField;
  351. }
  352. set {
  353. this.accountNumberField = value;
  354. }
  355. }
  356. }
  357. /// <remarks/>
  358. [GeneratedCode("wsdl", "2.0.50727.42")]
  359. [Serializable()]
  360. [DebuggerStepThrough()]
  361. [DesignerCategory("code")]
  362. [XmlType(Namespace="http://GlobalBranchServices/2006/05/CustomerProductsMessages.xsd")]
  363. public partial class getCustomerAccountsResponseType {
  364. private string customerIdField;
  365. private accountType[] accountsField;
  366. private creditCardType[] creditCardsField;
  367. /// <remarks/>
  368. public string customerId {
  369. get {
  370. return this.customerIdField;
  371. }
  372. set {
  373. this.customerIdField = value;
  374. }
  375. }
  376. /// <remarks/>
  377. [XmlArrayItem("account", IsNullable=false)]
  378. public accountType[] accounts {
  379. get {
  380. return this.accountsField;
  381. }
  382. set {
  383. this.accountsField = value;
  384. }
  385. }
  386. /// <remarks/>
  387. [XmlArrayItem("creditCard", IsNullable=false)]
  388. public creditCardType[] creditCards {
  389. get {
  390. return this.creditCardsField;
  391. }
  392. set {
  393. this.creditCardsField = value;
  394. }
  395. }
  396. }
  397. }