Browse files

wip

  • Loading branch information...
1 parent b737f2b commit 64f4c962f4f390cc176fac75613c8f97f23ba65d @arch85 arch85 committed Apr 9, 2012
View
BIN Project/GenerateCode/GenerateCode.suo
Binary file not shown.
View
61 Project/GenerateCode/GenerateCode/GenerateCode.cs
@@ -7,30 +7,40 @@
using System.IO;
using Xsd2Code.Library;
using Xsd2Code.Library.Helpers;
+using Microsoft.CSharp;
+using System.CodeDom.Compiler;
namespace GenerateCode
{
public class GenerateCode
{
- private const string CodeGenerationNamespace = "Xsd2Code.TestUnit";
+ private const string CodeGenerationNamespace = "LitleXSDGenerated";
- public static void Main()
+ private static string generatedCodeDir = "";
+
+ public static string versionToGenerate = "8.11";
+
+ public static void Main(string[] args)
{
- ModifyXSDs mdfxsdObj = new ModifyXSDs("8.11");
+ if (args.Length > 0)
+ {
+ versionToGenerate = args[0];
+ }
+ ModifyXSDs mdfxsdObj = new ModifyXSDs(versionToGenerate);
string[] fileArrayToGenerateFrom = mdfxsdObj.getXSDFileList();
String pathToPass = "";
System.Threading.Thread.Sleep(3000);
// calls to generate the code
foreach (string fileName in fileArrayToGenerateFrom)
{
pathToPass = System.IO.Path.GetFullPath(fileName);
- if (System.IO.File.Exists(fileName))
- {
- pathToPass = System.IO.Path.GetFullPath(fileName);
- }
GeneratorFacade xsdGen = new GeneratorFacade(GetGeneratorParams(pathToPass));
Result<string> result = xsdGen.Generate();
+ // delete the modified xsd file.
+ File.Delete(fileName);
}
+
+ BuildGeneratedCode();
}
private static GeneratorParams GetGeneratorParams(string inputFilePath)
@@ -52,10 +62,43 @@ private static GeneratorParams GetGeneratorParams(string inputFilePath)
return generatorParams;
}
- static private string GetOutputFilePath(string inputFilePath)
+ private static string GetOutputFilePath(string inputFilePath)
{
- return Path.ChangeExtension(inputFilePath, ".TestGenerated.cs");
+ String directoryForFile = Path.GetDirectoryName(Path.GetDirectoryName(inputFilePath));
+ generatedCodeDir = directoryForFile;
+ String valToReturn = "";
+
+ if (inputFilePath.IndexOf("litleCommon") != -1)
+ {
+ valToReturn = directoryForFile + "\\generated\\litleCommon.cs";
+ }
+ else if (inputFilePath.IndexOf("litleOnline") != -1)
+ {
+ valToReturn = directoryForFile + "\\generated\\litleOnline.cs";
+ }
+ else if (inputFilePath.IndexOf("litleTransaction") != -1)
+ {
+ valToReturn = directoryForFile + "\\generated\\litleTransaction.cs";
+ }
+
+ return valToReturn;
}
+ public static void BuildGeneratedCode()
+ {
+ String[] arrayOfFiles;
+ arrayOfFiles = new String[3];
+ arrayOfFiles[0] = generatedCodeDir + "\\generated\\litleCommon.cs";
+ arrayOfFiles[1] = generatedCodeDir + "\\generated\\litleCommon.cs";
+ arrayOfFiles[2] = generatedCodeDir + "\\generated\\litleCommon.cs";
+ CodeDomProvider provider = CodeDomProvider.CreateProvider("CSharp");
+ CompilerParameters cp = new CompilerParameters();
+ //cp.GenerateInMemory = false;
+ cp.OutputAssembly = "litleXSDGenerated.dll";
+
+ CompilerResults result = provider.CompileAssemblyFromFile(cp, arrayOfFiles);
+ int something = 0;
+ something = 5;
+ }
}
}
View
3 Project/GenerateCode/GenerateCode/GenerateCode.csproj
@@ -64,6 +64,9 @@
<ItemGroup>
<Content Include="bin\Debug\modifyXSD.vbs" />
</ItemGroup>
+ <ItemGroup>
+ <Folder Include="bin\Debug\generated\" />
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
View
BIN Project/GenerateCode/GenerateCode/bin/Debug/GenerateCode.exe
Binary file not shown.
View
BIN Project/GenerateCode/GenerateCode/bin/Debug/GenerateCode.pdb
Binary file not shown.
View
4 ...eCommon_v8.11_toGenerate.TestGenerated.cs → ...teCode/bin/Debug/generated/litleCommon.cs
@@ -1,10 +1,10 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.24586
-// <NameSpace>Xsd2Code.TestUnit</NameSpace><Collection>ObservableCollection</Collection><codeType>CSharp</codeType><EnableDataBinding>True</EnableDataBinding><EnableLazyLoading>False</EnableLazyLoading><TrackingChangesEnable>False</TrackingChangesEnable><GenTrackingClasses>False</GenTrackingClasses><HidePrivateFieldInIDE>True</HidePrivateFieldInIDE><EnableSummaryComment>False</EnableSummaryComment><VirtualProp>False</VirtualProp><IncludeSerializeMethod>True</IncludeSerializeMethod><UseBaseClass>False</UseBaseClass><GenBaseClass>False</GenBaseClass><GenerateCloneMethod>True</GenerateCloneMethod><GenerateDataContracts>True</GenerateDataContracts><CodeBaseTag>Net20</CodeBaseTag><SerializeMethodName>Serialize</SerializeMethodName><DeserializeMethodName>Deserialize</DeserializeMethodName><SaveToFileMethodName>SaveToFile</SaveToFileMethodName><LoadFromFileMethodName>LoadFromFile</LoadFromFileMethodName><GenerateXMLAttributes>False</GenerateXMLAttributes><EnableEncoding>False</EnableEncoding><AutomaticProperties>False</AutomaticProperties><GenerateShouldSerialize>False</GenerateShouldSerialize><DisableDebug>True</DisableDebug><PropNameSpecified>Default</PropNameSpecified><Encoder>UTF8</Encoder><CustomUsings></CustomUsings><ExcludeIncludedTypes>False</ExcludeIncludedTypes><EnableInitializeFields>True</EnableInitializeFields>
+// <NameSpace>LitleXSDGenerated</NameSpace><Collection>ObservableCollection</Collection><codeType>CSharp</codeType><EnableDataBinding>True</EnableDataBinding><EnableLazyLoading>False</EnableLazyLoading><TrackingChangesEnable>False</TrackingChangesEnable><GenTrackingClasses>False</GenTrackingClasses><HidePrivateFieldInIDE>True</HidePrivateFieldInIDE><EnableSummaryComment>False</EnableSummaryComment><VirtualProp>False</VirtualProp><IncludeSerializeMethod>True</IncludeSerializeMethod><UseBaseClass>False</UseBaseClass><GenBaseClass>False</GenBaseClass><GenerateCloneMethod>True</GenerateCloneMethod><GenerateDataContracts>True</GenerateDataContracts><CodeBaseTag>Net20</CodeBaseTag><SerializeMethodName>Serialize</SerializeMethodName><DeserializeMethodName>Deserialize</DeserializeMethodName><SaveToFileMethodName>SaveToFile</SaveToFileMethodName><LoadFromFileMethodName>LoadFromFile</LoadFromFileMethodName><GenerateXMLAttributes>False</GenerateXMLAttributes><EnableEncoding>False</EnableEncoding><AutomaticProperties>False</AutomaticProperties><GenerateShouldSerialize>False</GenerateShouldSerialize><DisableDebug>True</DisableDebug><PropNameSpecified>Default</PropNameSpecified><Encoder>UTF8</Encoder><CustomUsings></CustomUsings><ExcludeIncludedTypes>False</ExcludeIncludedTypes><EnableInitializeFields>True</EnableInitializeFields>
// </auto-generated>
// ------------------------------------------------------------------------------
-namespace Xsd2Code.TestUnit {
+namespace LitleXSDGenerated {
using System;
using System.Diagnostics;
using System.Xml.Serialization;
View
4 ...eOnline_v8.11_toGenerate.TestGenerated.cs → ...teCode/bin/Debug/generated/litleOnline.cs
@@ -1,10 +1,10 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.24586
-// <NameSpace>Xsd2Code.TestUnit</NameSpace><Collection>ObservableCollection</Collection><codeType>CSharp</codeType><EnableDataBinding>True</EnableDataBinding><EnableLazyLoading>False</EnableLazyLoading><TrackingChangesEnable>False</TrackingChangesEnable><GenTrackingClasses>False</GenTrackingClasses><HidePrivateFieldInIDE>True</HidePrivateFieldInIDE><EnableSummaryComment>False</EnableSummaryComment><VirtualProp>False</VirtualProp><IncludeSerializeMethod>True</IncludeSerializeMethod><UseBaseClass>False</UseBaseClass><GenBaseClass>False</GenBaseClass><GenerateCloneMethod>True</GenerateCloneMethod><GenerateDataContracts>True</GenerateDataContracts><CodeBaseTag>Net20</CodeBaseTag><SerializeMethodName>Serialize</SerializeMethodName><DeserializeMethodName>Deserialize</DeserializeMethodName><SaveToFileMethodName>SaveToFile</SaveToFileMethodName><LoadFromFileMethodName>LoadFromFile</LoadFromFileMethodName><GenerateXMLAttributes>False</GenerateXMLAttributes><EnableEncoding>False</EnableEncoding><AutomaticProperties>False</AutomaticProperties><GenerateShouldSerialize>False</GenerateShouldSerialize><DisableDebug>True</DisableDebug><PropNameSpecified>Default</PropNameSpecified><Encoder>UTF8</Encoder><CustomUsings></CustomUsings><ExcludeIncludedTypes>False</ExcludeIncludedTypes><EnableInitializeFields>True</EnableInitializeFields>
+// <NameSpace>LitleXSDGenerated</NameSpace><Collection>ObservableCollection</Collection><codeType>CSharp</codeType><EnableDataBinding>True</EnableDataBinding><EnableLazyLoading>False</EnableLazyLoading><TrackingChangesEnable>False</TrackingChangesEnable><GenTrackingClasses>False</GenTrackingClasses><HidePrivateFieldInIDE>True</HidePrivateFieldInIDE><EnableSummaryComment>False</EnableSummaryComment><VirtualProp>False</VirtualProp><IncludeSerializeMethod>True</IncludeSerializeMethod><UseBaseClass>False</UseBaseClass><GenBaseClass>False</GenBaseClass><GenerateCloneMethod>True</GenerateCloneMethod><GenerateDataContracts>True</GenerateDataContracts><CodeBaseTag>Net20</CodeBaseTag><SerializeMethodName>Serialize</SerializeMethodName><DeserializeMethodName>Deserialize</DeserializeMethodName><SaveToFileMethodName>SaveToFile</SaveToFileMethodName><LoadFromFileMethodName>LoadFromFile</LoadFromFileMethodName><GenerateXMLAttributes>False</GenerateXMLAttributes><EnableEncoding>False</EnableEncoding><AutomaticProperties>False</AutomaticProperties><GenerateShouldSerialize>False</GenerateShouldSerialize><DisableDebug>True</DisableDebug><PropNameSpecified>Default</PropNameSpecified><Encoder>UTF8</Encoder><CustomUsings></CustomUsings><ExcludeIncludedTypes>False</ExcludeIncludedTypes><EnableInitializeFields>True</EnableInitializeFields>
// </auto-generated>
// ------------------------------------------------------------------------------
-namespace Xsd2Code.TestUnit {
+namespace LitleXSDGenerated {
using System;
using System.Diagnostics;
using System.Xml.Serialization;
View
4 ...saction_v8.11_toGenerate.TestGenerated.cs → ...e/bin/Debug/generated/litleTransaction.cs
@@ -1,10 +1,10 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.24586
-// <NameSpace>Xsd2Code.TestUnit</NameSpace><Collection>ObservableCollection</Collection><codeType>CSharp</codeType><EnableDataBinding>True</EnableDataBinding><EnableLazyLoading>False</EnableLazyLoading><TrackingChangesEnable>False</TrackingChangesEnable><GenTrackingClasses>False</GenTrackingClasses><HidePrivateFieldInIDE>True</HidePrivateFieldInIDE><EnableSummaryComment>False</EnableSummaryComment><VirtualProp>False</VirtualProp><IncludeSerializeMethod>True</IncludeSerializeMethod><UseBaseClass>False</UseBaseClass><GenBaseClass>False</GenBaseClass><GenerateCloneMethod>True</GenerateCloneMethod><GenerateDataContracts>True</GenerateDataContracts><CodeBaseTag>Net20</CodeBaseTag><SerializeMethodName>Serialize</SerializeMethodName><DeserializeMethodName>Deserialize</DeserializeMethodName><SaveToFileMethodName>SaveToFile</SaveToFileMethodName><LoadFromFileMethodName>LoadFromFile</LoadFromFileMethodName><GenerateXMLAttributes>False</GenerateXMLAttributes><EnableEncoding>False</EnableEncoding><AutomaticProperties>False</AutomaticProperties><GenerateShouldSerialize>False</GenerateShouldSerialize><DisableDebug>True</DisableDebug><PropNameSpecified>Default</PropNameSpecified><Encoder>UTF8</Encoder><CustomUsings></CustomUsings><ExcludeIncludedTypes>False</ExcludeIncludedTypes><EnableInitializeFields>True</EnableInitializeFields>
+// <NameSpace>LitleXSDGenerated</NameSpace><Collection>ObservableCollection</Collection><codeType>CSharp</codeType><EnableDataBinding>True</EnableDataBinding><EnableLazyLoading>False</EnableLazyLoading><TrackingChangesEnable>False</TrackingChangesEnable><GenTrackingClasses>False</GenTrackingClasses><HidePrivateFieldInIDE>True</HidePrivateFieldInIDE><EnableSummaryComment>False</EnableSummaryComment><VirtualProp>False</VirtualProp><IncludeSerializeMethod>True</IncludeSerializeMethod><UseBaseClass>False</UseBaseClass><GenBaseClass>False</GenBaseClass><GenerateCloneMethod>True</GenerateCloneMethod><GenerateDataContracts>True</GenerateDataContracts><CodeBaseTag>Net20</CodeBaseTag><SerializeMethodName>Serialize</SerializeMethodName><DeserializeMethodName>Deserialize</DeserializeMethodName><SaveToFileMethodName>SaveToFile</SaveToFileMethodName><LoadFromFileMethodName>LoadFromFile</LoadFromFileMethodName><GenerateXMLAttributes>False</GenerateXMLAttributes><EnableEncoding>False</EnableEncoding><AutomaticProperties>False</AutomaticProperties><GenerateShouldSerialize>False</GenerateShouldSerialize><DisableDebug>True</DisableDebug><PropNameSpecified>Default</PropNameSpecified><Encoder>UTF8</Encoder><CustomUsings></CustomUsings><ExcludeIncludedTypes>False</ExcludeIncludedTypes><EnableInitializeFields>True</EnableInitializeFields>
// </auto-generated>
// ------------------------------------------------------------------------------
-namespace Xsd2Code.TestUnit {
+namespace LitleXSDGenerated {
using System;
using System.Diagnostics;
using System.Xml.Serialization;
View
1 Project/GenerateCode/GenerateCode/bin/Debug/xsd/litleCommon_v8.11_toGenerate.xsd
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><!--Litle & Co. API Version: 8.10Copyright © 2003-2012, Litle & Co. ALL RIGHTS RESERVED.http://www.litle.com/--><xs:schema targetNamespace="http://www.litle.com/schema" xmlns:xp="http://www.litle.com/schema" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"><xs:element name="authentication"><xs:complexType><xs:sequence><xs:element name="user" type="xp:string20Type" /><xs:element name="password" type="xp:string20Type" /></xs:sequence></xs:complexType></xs:element><xs:simpleType name="string20Type"><xs:restriction base="xs:string"><xs:maxLength value="20" /></xs:restriction></xs:simpleType><xs:simpleType name="versionType"><xs:restriction base="xs:string"><xs:maxLength value="10" /></xs:restriction></xs:simpleType><xs:simpleType name="messageType"><xs:restriction base="xs:string"><xs:maxLength value="512" /></xs:restriction></xs:simpleType><xs:simpleType name="string2Type"><xs:restriction base="xs:string"><xs:maxLength value="2" /></xs:restriction></xs:simpleType> <xs:simpleType name="string3Type"><xs:restriction base="xs:string"><xs:maxLength value="3" /></xs:restriction></xs:simpleType><xs:simpleType name="responseType"><xs:restriction base="xs:string"><xs:maxLength value="3" /></xs:restriction></xs:simpleType><xs:simpleType name="litleIdType"><xs:restriction base="xs:long"><xs:totalDigits value="19" /></xs:restriction></xs:simpleType><xs:simpleType name="string25Type"><xs:restriction base="xs:string"><xs:maxLength value="25" /></xs:restriction></xs:simpleType><xs:simpleType name="string50Type"><xs:restriction base="xs:string"><xs:maxLength value="50" /></xs:restriction></xs:simpleType><xs:simpleType name="string256Type"><xs:restriction base="xs:string"><xs:maxLength value="256" /></xs:restriction></xs:simpleType><xs:simpleType name="string512Type"><xs:restriction base="xs:string"><xs:maxLength value="512" /></xs:restriction></xs:simpleType><xs:simpleType name="cardNumberLast4Type"><xs:restriction base="xs:string"><xs:maxLength value="4" /></xs:restriction></xs:simpleType><xs:simpleType name="virtualAuthenticationKeyData"><xs:restriction base="xs:string"><xs:maxLength value="4" /></xs:restriction></xs:simpleType><xs:simpleType name="virtualAuthenticationKeyPresenceIndicator"><xs:restriction base="xs:string"><xs:maxLength value="1" /></xs:restriction></xs:simpleType><xs:simpleType name="authorizationSourcePlatform"><xs:restriction base="xs:string"><xs:maxLength value="1" /></xs:restriction></xs:simpleType><xs:simpleType name="addressIndicator"><xs:restriction base="xs:string"><xs:maxLength value="1" /></xs:restriction></xs:simpleType><xs:simpleType name="authenticationResultType"><xs:restriction base="xs:string"><xs:maxLength value="1" /></xs:restriction></xs:simpleType><xs:simpleType name="methodOfPaymentTypeEnum"><xs:restriction base="xs:string"><xs:enumeration value="MC" /><xs:enumeration value="VI" /><xs:enumeration value="AX" /><xs:enumeration value="DC" /><xs:enumeration value="DI" /><xs:enumeration value="PP" /><xs:enumeration value="JC" /><xs:enumeration value="BL" /><xs:enumeration value="EC" /><xs:enumeration value="" /></xs:restriction></xs:simpleType><xs:simpleType name="govtTaxTypeEnum"><xs:restriction base="xs:string"><xs:enumeration value="payment" /><xs:enumeration value="fee" /></xs:restriction></xs:simpleType><xs:simpleType name="transactionAmountType"><xs:restriction base="xs:integer"><xs:totalDigits value="12" /></xs:restriction></xs:simpleType><xs:simpleType name="loanToValueEstimator"><xs:restriction base="xs:string"><xs:maxLength value="8" /></xs:restriction></xs:simpleType><xs:simpleType name="riskEstimator"><xs:restriction base="xs:string"><xs:maxLength value="8" /></xs:restriction></xs:simpleType><xs:simpleType name="riskQueueAssignment"><xs:restriction base="xs:string"><xs:maxLength value="8" /></xs:restriction></xs:simpleType><xs:simpleType name="merchantIdentificationType"><xs:restriction base="xs:string"><xs:maxLength value="50" /></xs:restriction></xs:simpleType><xs:simpleType name="currencyCodeEnum"><xs:restriction base="xs:string"><xs:enumeration value="AUD" /><xs:enumeration value="CAD" /><xs:enumeration value="CHF" /><xs:enumeration value="DKK" /><xs:enumeration value="EUR" /><xs:enumeration value="GBP" /><xs:enumeration value="HKD" /><xs:enumeration value="JPY" /><xs:enumeration value="NOK" /><xs:enumeration value="NZD" /><xs:enumeration value="SEK" /><xs:enumeration value="SGD" /><xs:enumeration value="USD" /></xs:restriction></xs:simpleType><xs:simpleType name="countryTypeEnum"><xs:restriction base="xs:string"><xs:enumeration value="USA" /><xs:enumeration value="AF" /><xs:enumeration value="AX" /><xs:enumeration value="AL" /><xs:enumeration value="DZ" /><xs:enumeration value="AS" /><xs:enumeration value="AD" /><xs:enumeration value="AO" /><xs:enumeration value="AI" /><xs:enumeration value="AQ" /><xs:enumeration value="AG" /><xs:enumeration value="AR" /><xs:enumeration value="AM" /><xs:enumeration value="AW" /><xs:enumeration value="AU" /><xs:enumeration value="AT" /><xs:enumeration value="AZ" /><xs:enumeration value="BS" /><xs:enumeration value="BH" /><xs:enumeration value="BD" /><xs:enumeration value="BB" /><xs:enumeration value="BY" /><xs:enumeration value="BE" /><xs:enumeration value="BZ" /><xs:enumeration value="BJ" /><xs:enumeration value="BM" /><xs:enumeration value="BT" /><xs:enumeration value="BO" /><xs:enumeration value="BQ" /><xs:enumeration value="BA" /><xs:enumeration value="BW" /><xs:enumeration value="BV" /><xs:enumeration value="BR" /><xs:enumeration value="IO" /><xs:enumeration value="BN" /><xs:enumeration value="BG" /><xs:enumeration value="BF" /><xs:enumeration value="BI" /><xs:enumeration value="KH" /><xs:enumeration value="CM" /><xs:enumeration value="CA" /><xs:enumeration value="CV" /><xs:enumeration value="KY" /><xs:enumeration value="CF" /><xs:enumeration value="TD" /><xs:enumeration value="CL" /><xs:enumeration value="CN" /><xs:enumeration value="CX" /><xs:enumeration value="CC" /><xs:enumeration value="CO" /><xs:enumeration value="KM" /><xs:enumeration value="CG" /><xs:enumeration value="CD" /><xs:enumeration value="CK" /><xs:enumeration value="CR" /><xs:enumeration value="CI" /><xs:enumeration value="HR" /><xs:enumeration value="CU" /><xs:enumeration value="CW" /><xs:enumeration value="CY" /><xs:enumeration value="CZ" /><xs:enumeration value="DK" /><xs:enumeration value="DJ" /><xs:enumeration value="DM" /><xs:enumeration value="DO" /><xs:enumeration value="TL" /><xs:enumeration value="EC" /><xs:enumeration value="EG" /><xs:enumeration value="SV" /><xs:enumeration value="GQ" /><xs:enumeration value="ER" /><xs:enumeration value="EE" /><xs:enumeration value="ET" /><xs:enumeration value="FK" /><xs:enumeration value="FO" /><xs:enumeration value="FJ" /><xs:enumeration value="FI" /><xs:enumeration value="FR" /><xs:enumeration value="GF" /><xs:enumeration value="PF" /><xs:enumeration value="TF" /><xs:enumeration value="GA" /><xs:enumeration value="GM" /><xs:enumeration value="GE" /><xs:enumeration value="DE" /><xs:enumeration value="GH" /><xs:enumeration value="GI" /><xs:enumeration value="GR" /><xs:enumeration value="GL" /><xs:enumeration value="GD" /><xs:enumeration value="GP" /><xs:enumeration value="GU" /><xs:enumeration value="GT" /><xs:enumeration value="GG" /><xs:enumeration value="GN" /><xs:enumeration value="GW" /><xs:enumeration value="GY" /><xs:enumeration value="HT" /><xs:enumeration value="HM" /><xs:enumeration value="HN" /><xs:enumeration value="HK" /><xs:enumeration value="HU" /><xs:enumeration value="IS" /><xs:enumeration value="IN" /><xs:enumeration value="ID" /><xs:enumeration value="IR" /><xs:enumeration value="IQ" /><xs:enumeration value="IE" /><xs:enumeration value="IM" /><xs:enumeration value="IL" /><xs:enumeration value="IT" /><xs:enumeration value="JM" /><xs:enumeration value="JP" /><xs:enumeration value="JE" /><xs:enumeration value="JO" /><xs:enumeration value="KZ" /><xs:enumeration value="KE" /><xs:enumeration value="KI" /><xs:enumeration value="KP" /><xs:enumeration value="KR" /><xs:enumeration value="KW" /><xs:enumeration value="KG" /><xs:enumeration value="LA" /><xs:enumeration value="LV" /><xs:enumeration value="LB" /><xs:enumeration value="LS" /><xs:enumeration value="LR" /><xs:enumeration value="LY" /><xs:enumeration value="LI" /><xs:enumeration value="LT" /><xs:enumeration value="LU" /><xs:enumeration value="MO" /><xs:enumeration value="MK" /><xs:enumeration value="MG" /><xs:enumeration value="MW" /><xs:enumeration value="MY" /><xs:enumeration value="MV" /><xs:enumeration value="ML" /><xs:enumeration value="MT" /><xs:enumeration value="MH" /><xs:enumeration value="MQ" /><xs:enumeration value="MR" /><xs:enumeration value="MU" /><xs:enumeration value="YT" /><xs:enumeration value="MX" /><xs:enumeration value="FM" /><xs:enumeration value="MD" /><xs:enumeration value="MC" /><xs:enumeration value="MN" /><xs:enumeration value="MS" /><xs:enumeration value="MA" /><xs:enumeration value="MZ" /><xs:enumeration value="MM" /><xs:enumeration value="NA" /><xs:enumeration value="NR" /><xs:enumeration value="NP" /><xs:enumeration value="NL" /><xs:enumeration value="AN" /><xs:enumeration value="NC" /><xs:enumeration value="NZ" /><xs:enumeration value="NI" /><xs:enumeration value="NE" /><xs:enumeration value="NG" /><xs:enumeration value="NU" /><xs:enumeration value="NF" /><xs:enumeration value="MP" /><xs:enumeration value="NO" /><xs:enumeration value="OM" /><xs:enumeration value="PK" /><xs:enumeration value="PW" /><xs:enumeration value="PS" /><xs:enumeration value="PA" /><xs:enumeration value="PG" /><xs:enumeration value="PY" /><xs:enumeration value="PE" /><xs:enumeration value="PH" /><xs:enumeration value="PN" /><xs:enumeration value="PL" /><xs:enumeration value="PT" /><xs:enumeration value="PR" /><xs:enumeration value="QA" /><xs:enumeration value="RE" /><xs:enumeration value="RO" /><xs:enumeration value="RU" /><xs:enumeration value="RW" /><xs:enumeration value="BL" /><xs:enumeration value="KN" /><xs:enumeration value="LC" /><xs:enumeration value="MF" /><xs:enumeration value="VC" /><xs:enumeration value="WS" /><xs:enumeration value="SM" /><xs:enumeration value="ST" /><xs:enumeration value="SA" /><xs:enumeration value="SN" /><xs:enumeration value="SC" /><xs:enumeration value="SL" /><xs:enumeration value="SG" /><xs:enumeration value="SX" /><xs:enumeration value="SK" /><xs:enumeration value="SI" /><xs:enumeration value="SB" /><xs:enumeration value="SO" /><xs:enumeration value="ZA" /><xs:enumeration value="GS" /><xs:enumeration value="ES" /><xs:enumeration value="LK" /><xs:enumeration value="SH" /><xs:enumeration value="PM" /><xs:enumeration value="SD" /><xs:enumeration value="SR" /><xs:enumeration value="SJ" /><xs:enumeration value="SZ" /><xs:enumeration value="SE" /><xs:enumeration value="CH" /><xs:enumeration value="SY" /><xs:enumeration value="TW" /><xs:enumeration value="TJ" /><xs:enumeration value="TZ" /><xs:enumeration value="TH" /><xs:enumeration value="TG" /><xs:enumeration value="TK" /><xs:enumeration value="TO" /><xs:enumeration value="TT" /><xs:enumeration value="TN" /><xs:enumeration value="TR" /><xs:enumeration value="TM" /><xs:enumeration value="TC" /><xs:enumeration value="TV" /><xs:enumeration value="UG" /><xs:enumeration value="UA" /><xs:enumeration value="AE" /><xs:enumeration value="GB" /><xs:enumeration value="US" /><xs:enumeration value="UM" /><xs:enumeration value="UY" /><xs:enumeration value="UZ" /><xs:enumeration value="VU" /><xs:enumeration value="VA" /><xs:enumeration value="VE" /><xs:enumeration value="VN" /><xs:enumeration value="VG" /><xs:enumeration value="VI" /><xs:enumeration value="WF" /><xs:enumeration value="EH" /><xs:enumeration value="YE" /><xs:enumeration value="ZM" /><xs:enumeration value="ZW" /><xs:enumeration value="RS" /><xs:enumeration value="ME" /></xs:restriction></xs:simpleType><xs:simpleType name="addressLineType"><xs:restriction base="xs:string"><xs:maxLength value="35" /></xs:restriction></xs:simpleType><xs:simpleType name="cityType"><xs:restriction base="xs:string"><xs:maxLength value="35" /></xs:restriction></xs:simpleType><xs:simpleType name="customBillingCityType"><xs:restriction base="xs:string"><xs:maxLength value="35" /></xs:restriction></xs:simpleType><xs:simpleType name="stateType"><xs:restriction base="xs:string"><xs:maxLength value="30" /></xs:restriction></xs:simpleType><xs:simpleType name="zipType"><xs:restriction base="xs:string"><xs:maxLength value="20" /></xs:restriction></xs:simpleType><xs:simpleType name="emailType"><xs:restriction base="xs:string"><xs:maxLength value="100" /></xs:restriction></xs:simpleType><xs:simpleType name="phoneType"><xs:restriction base="xs:string"><xs:maxLength value="20" /></xs:restriction></xs:simpleType><xs:simpleType name="nameType"><xs:restriction base="xs:string"><xs:maxLength value="100" /></xs:restriction></xs:simpleType><xs:simpleType name="cvNumType"><xs:restriction base="xs:string"><xs:maxLength value="4" /></xs:restriction></xs:simpleType><xs:simpleType name="authCodeType"><xs:restriction base="xs:string"><xs:maxLength value="6" /></xs:restriction></xs:simpleType><xs:simpleType name="customerIdType"><xs:restriction base="xs:string"><xs:maxLength value="50" /></xs:restriction></xs:simpleType><xs:simpleType name="customBillingUrlType"> <xs:restriction base="xs:string"> <xs:maxLength value="13" /> <xs:pattern value="[A-Z,a-z,0-9,/,\-,_,.]*"/> </xs:restriction></xs:simpleType><xs:simpleType name="IIASFlagType"> <xs:restriction base="xs:string"> <xs:maxLength value="1"/> <xs:enumeration value="Y"/> </xs:restriction></xs:simpleType> <xs:simpleType name="driversLicenseType"><xs:restriction base="xs:string"><xs:maxLength value="30" /></xs:restriction></xs:simpleType><xs:simpleType name="stateCodeType"><xs:restriction base="xs:string"><xs:maxLength value="2" /></xs:restriction></xs:simpleType><xs:simpleType name="dateOfBirthType"><xs:restriction base="xs:string"><xs:maxLength value="8" /></xs:restriction></xs:simpleType><xs:simpleType name="firstNameType"><xs:restriction base="xs:string"><xs:maxLength value="25" /></xs:restriction></xs:simpleType><xs:simpleType name="lastNameType"><xs:restriction base="xs:string"><xs:maxLength value="25" /></xs:restriction></xs:simpleType><xs:simpleType name="middleInitialType"><xs:restriction base="xs:string"><xs:maxLength value="1" /></xs:restriction></xs:simpleType><xs:simpleType name="companyName"><xs:restriction base="xs:string"><xs:maxLength value="40" /></xs:restriction></xs:simpleType><xs:simpleType name="redeliveryCycle"><xs:restriction base="xs:integer"><xs:totalDigits value="1" /></xs:restriction></xs:simpleType><xs:simpleType name="numberOfDeposits"><xs:restriction base="xs:integer"><xs:totalDigits value="1" /></xs:restriction></xs:simpleType></xs:schema>
View
1 Project/GenerateCode/GenerateCode/bin/Debug/xsd/litleOnline_v8.11_toGenerate.xsd
@@ -1 +0,0 @@
-<?xml version="1.0"?><!--Litle & Co. API Version: 8.10Copyright © 2003-2012, Litle & Co. ALL RIGHTS RESERVED.http://www.litle.com/--><!--<!DOCTYPE xs:schema SYSTEM "http://www.w3.org/2001/XMLSchema.dtd">--><xs:schema targetNamespace="http://www.litle.com/schema" xmlns:xp="http://www.litle.com/schema" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"><xs:include schemaLocation="litleTransaction_v8.10.xsd" /><xs:complexType name="baseRequest"><xs:sequence><xs:element ref="xp:authentication" /><xs:element ref="xp:transaction" /></xs:sequence><xs:attribute name="version" type="xp:versionType" use="required" /></xs:complexType><xs:element name="litleOnlineRequest"><xs:complexType><xs:complexContent><xs:extension base="xp:baseRequest"><xs:attribute name="merchantId" type="xp:merchantIdentificationType" use="required" /></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="litleOnlineResponse"><xs:complexType><xs:sequence><xs:element ref="xp:transactionResponse" minOccurs="0" /></xs:sequence><xs:attribute name="response" type="xp:responseType" use="required" /><xs:attribute name="message" type="xp:messageType" use="required" /><xs:attribute name="version" type="xp:versionType" use="required" /></xs:complexType></xs:element><xs:element name="void" substitutionGroup="xp:transaction"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element ref="xp:processingInstructions" minOccurs="0" /></xs:all></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="voidResponse" substitutionGroup="xp:transactionResponse"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="response" type="xp:responseType" /><xs:element name="responseTime" type="xs:dateTime" /><xs:element name="postDate" type="xs:date" /><xs:element name="message" type="xp:messageType" /></xs:all><xs:attribute name="duplicate" type="xs:boolean" use="optional" /></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="echeckVoid" substitutionGroup="xp:transaction"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /></xs:all></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="echeckVoidResponse" substitutionGroup="xp:transactionResponse"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="response" type="xp:responseType" /><xs:element name="responseTime" type="xs:dateTime" /><xs:element name="postDate" type="xs:date" /><xs:element name="message" type="xp:messageType" /></xs:all><xs:attribute name="duplicate" type="xs:boolean" use="optional" /></xs:extension></xs:complexContent></xs:complexType></xs:element></xs:schema>
View
1 Project/GenerateCode/GenerateCode/bin/Debug/xsd/litleTransaction_v8.11_toGenerate.xsd
@@ -1 +0,0 @@
-<xs:schema targetNamespace="http://www.litle.com/schema" xmlns:xp="http://www.litle.com/schema" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"><!--Litle & Co. API Version: 8.10Copyright © 2003-2012, Litle & Co. ALL RIGHTS RESERVED.http://www.litle.com/--><xs:include schemaLocation="litleCommon_v8.10.xsd" /><xs:element name="transaction" type="xp:transactionType" abstract="true" /><xs:complexType name="transactionType"><xs:attribute name="id" type="xp:string25Type" /><xs:attribute name="customerId" type="xp:customerIdType" use="optional" /></xs:complexType><xs:complexType name="transactionTypeWithReportGroup"><xs:complexContent><xs:extension base="xp:transactionType"><xs:attribute name="reportGroup" type="xp:reportGroupType" use="required" /></xs:extension></xs:complexContent></xs:complexType><xs:complexType name="merchantDataType"> <xs:all> <xs:element name="campaign" type="xp:campaignType" minOccurs="0" /> <xs:element name="affiliate" type="xp:affiliateType" minOccurs="0" /> <xs:element name="merchantGroupingId" type="xp:merchantGroupingIdType" minOccurs="0" /> </xs:all></xs:complexType><xs:complexType name="transactionTypeWithReportGroupAndPartial"><xs:complexContent><xs:extension base="xp:transactionType"><xs:attribute name="reportGroup" type="xp:reportGroupType" use="required" /><xs:attribute name="partial" type="xs:boolean" use="optional" /></xs:extension></xs:complexContent></xs:complexType><xs:complexType name="transactionTypeOptionReportGroup"><xs:complexContent><xs:extension base="xp:transactionType"><xs:attribute name="reportGroup" type="xp:reportGroupType" use="optional" /></xs:extension></xs:complexContent></xs:complexType><xs:complexType name="driversLicenseInfo"><xs:all><xs:element name="licenseNumber" type="xp:driversLicenseType" /><xs:element name="state" type="xp:stateCodeType" minOccurs="0" /><xs:element name="dateOfBirth" type="xp:dateOfBirthType" minOccurs="0" /></xs:all></xs:complexType><xs:complexType name="contact"><xs:all><xs:element name="name" type="xp:nameType" minOccurs="0" /><xs:element name="firstName" type="xp:firstNameType" minOccurs="0" /> <xs:element name="middleInitial" type="xp:middleInitialType" minOccurs="0" /> <xs:element name="lastName" type="xp:lastNameType" minOccurs="0" /><xs:element name="companyName" type="xp:companyName" minOccurs="0" /><xs:element name="addressLine1" type="xp:addressLineType" minOccurs="0" /><xs:element name="addressLine2" type="xp:addressLineType" minOccurs="0" /><xs:element name="addressLine3" type="xp:addressLineType" minOccurs="0" /><xs:element name="city" type="xp:cityType" minOccurs="0" /><xs:element name="state" type="xp:stateType" minOccurs="0" /><xs:element name="zip" type="xp:zipType" minOccurs="0" /><xs:element name="country" type="xp:countryTypeEnum" minOccurs="0" /><xs:element name="email" minOccurs="0"><xs:simpleType><xs:restriction base="xp:emailType"><xs:maxLength value="100" /></xs:restriction></xs:simpleType></xs:element><xs:element name="phone" type="xp:phoneType" minOccurs="0" /></xs:all></xs:complexType><xs:element name="customerInfo"><xs:complexType><xs:all><xs:element name="ssn" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="(\d{5})?\d{4}" /></xs:restriction></xs:simpleType></xs:element><xs:element name="dob" type="xs:date" minOccurs="0" /><xs:element name="customerRegistrationDate" type="xs:date" minOccurs="0" /><xs:element name="customerType" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="New" /><xs:enumeration value="Existing" /></xs:restriction></xs:simpleType></xs:element><xs:element name="incomeAmount" type="xs:long" minOccurs="0" /><xs:element name="incomeCurrency" type="xp:currencyCodeEnum" default="USD" minOccurs="0" /><xs:element name="customerCheckingAccount" type="xs:boolean" minOccurs="0" /><xs:element name="customerSavingAccount" type="xs:boolean" minOccurs="0" /><xs:element name="employerName" type="xp:string20Type" minOccurs="0" /><xs:element name="customerWorkTelephone" type="xp:phoneType" minOccurs="0" /><xs:element name="residenceStatus" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="Own" /><xs:enumeration value="Rent" /><xs:enumeration value="Other" /></xs:restriction></xs:simpleType></xs:element><xs:element name="yearsAtResidence" minOccurs="0"><xs:simpleType><xs:restriction base="xs:int"><xs:totalDigits value="2" /></xs:restriction></xs:simpleType></xs:element><xs:element name="yearsAtEmployer" minOccurs="0"><xs:simpleType><xs:restriction base="xs:int"><xs:totalDigits value="2" /></xs:restriction></xs:simpleType></xs:element></xs:all></xs:complexType></xs:element><xs:element name="bmlProductType" default="BL"><xs:simpleType><xs:restriction base="xs:string"><xs:length value="2" /></xs:restriction></xs:simpleType></xs:element><xs:element name="billMeLaterRequest"><xs:complexType><xs:all><xs:element name="bmlMerchantId" type="xp:litleIdType" minOccurs="0" /><xs:element ref="xp:bmlProductType" minOccurs="0" /><xs:element name="termsAndConditions" minOccurs="0"><xs:simpleType><xs:restriction base="xs:int"><xs:totalDigits value="5" /></xs:restriction></xs:simpleType></xs:element><xs:element name="preapprovalNumber" type="xp:ccAccountNumberType" minOccurs="0" /><xs:element name="merchantPromotionalCode" minOccurs="0"><xs:simpleType><xs:restriction base="xs:int"><xs:totalDigits value="4" /></xs:restriction></xs:simpleType></xs:element><xs:element name="customerPasswordChanged" type="xs:boolean" minOccurs="0" /><xs:element name="customerBillingAddressChanged" type="xs:boolean" minOccurs="0" /><xs:element name="customerEmailChanged" type="xs:boolean" minOccurs="0" /><xs:element name="customerPhoneChanged" type="xs:boolean" minOccurs="0" /><xs:element name="secretQuestionCode" type="xp:string2Type" minOccurs="0" /><xs:element name="secretQuestionAnswer" type="xp:string25Type" minOccurs="0" /><xs:element name="virtualAuthenticationKeyPresenceIndicator" type="xp:virtualAuthenticationKeyPresenceIndicator" minOccurs="0" /><xs:element name="virtualAuthenticationKeyData" type="xp:virtualAuthenticationKeyData" minOccurs="0" /><xs:element name="itemCategoryCode" minOccurs="0"><xs:simpleType><xs:restriction base="xs:int"><xs:totalDigits value="4" /></xs:restriction></xs:simpleType></xs:element><xs:element name="authorizationSourcePlatform" type="xs:string" minOccurs="0" /></xs:all></xs:complexType></xs:element><xs:element name="billMeLaterResponseData"><xs:complexType><xs:all><xs:element name="bmlMerchantId" type="xp:litleIdType" /><xs:element name="promotionalOfferCode" type="xs:string" minOccurs="0" /><xs:element name="approvedTermsCode" minOccurs="0"><xs:simpleType><xs:restriction base="xs:int"><xs:totalDigits value="8" /></xs:restriction></xs:simpleType></xs:element><xs:element name="creditLine" type="xp:transactionAmountType" minOccurs="0" /><xs:element name="addressIndicator" type="xp:addressIndicator" minOccurs="0" /><xs:element name="loanToValueEstimator" type="xp:loanToValueEstimator" minOccurs="0" /><xs:element name="riskEstimator" type="xp:riskEstimator" minOccurs="0" /><xs:element name="riskQueueAssignment" type="xp:riskQueueAssignment" minOccurs="0" /></xs:all></xs:complexType></xs:element><xs:complexType name="fraudCheckType"><xs:all><xs:element name="authenticationValue" type="xp:authenticationValueType" minOccurs="0" /><xs:element name="authenticationTransactionId" type="xp:authenticationTransactionIdType" minOccurs="0" /><xs:element name="customerIpAddress" type="xp:ipAddress" minOccurs="0" /><xs:element name="authenticatedByMerchant" type="xs:boolean" minOccurs="0" /></xs:all></xs:complexType><xs:element name="authorization" substitutionGroup="xp:transaction"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:sequence><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="orderId" type="xp:string25Type" /><xs:element name="amount" type="xp:transactionAmountType" /><xs:element name="orderSource" type="xp:orderSourceType" /><xs:element ref="xp:customerInfo" minOccurs="0" /><xs:element ref="xp:billToAddress" minOccurs="0" /><xs:element ref="xp:shipToAddress" minOccurs="0" /><xs:choice><xs:element name="card" type="xp:cardType" /><xs:element name="paypal" type="xp:payPal" /><xs:element name="token" type="xp:cardTokenType" /><xs:element name="paypage" type="xp:cardPaypageType" /></xs:choice><xs:element ref="xp:billMeLaterRequest" minOccurs="0" /><xs:element name="cardholderAuthentication" type="xp:fraudCheckType" minOccurs="0" /><xs:element ref="xp:processingInstructions" minOccurs="0" /><xs:element ref="xp:pos" minOccurs="0" /><xs:element ref="xp:customBilling" minOccurs="0" /><xs:element name="taxType" type="xp:govtTaxTypeEnum" minOccurs="0" /><xs:element ref="xp:enhancedData" minOccurs="0" /><xs:element ref="xp:amexAggregatorData" minOccurs="0" /><xs:element name="allowPartialAuth" type="xs:boolean" minOccurs="0" /><xs:element ref="xp:healthcareIIAS" minOccurs="0" /><xs:element name="filtering" type="xp:filteringType" minOccurs="0"/><xs:element name="merchantData" type="xp:merchantDataType" minOccurs="0" /><xs:element name="recyclingRequest" type="xp:recyclingRequestType" minOccurs="0"/></xs:sequence></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="authReversal" substitutionGroup="xp:transaction"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="amount" type="xp:transactionAmountType" minOccurs="0" /><xs:element name="payPalNotes" type="xp:payPalNotesType" minOccurs="0" /><xs:element name="actionReason" type="xp:actionReasonType" minOccurs="0" /></xs:all></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="capture" substitutionGroup="xp:transaction"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroupAndPartial"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="amount" type="xp:transactionAmountType" minOccurs="0" /><xs:element ref="xp:enhancedData" minOccurs="0" /><xs:element ref="xp:processingInstructions" minOccurs="0" /><xs:element name="payPalOrderComplete" type="xs:boolean" minOccurs="0" /><xs:element name="payPalNotes" type="xp:payPalNotesType" minOccurs="0" /></xs:all></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="forceCapture" substitutionGroup="xp:transaction"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:sequence><xs:element name="orderId" type="xp:string25Type" /><xs:element name="amount" type="xp:transactionAmountType" /><xs:element name="orderSource" type="xp:orderSourceType" /><xs:element ref="xp:billToAddress" minOccurs="0" /><xs:choice><xs:element name="card" type="xp:cardType" /><xs:element name="token" type="xp:cardTokenType" /><xs:element name="paypage" type="xp:cardPaypageType" /></xs:choice><xs:element ref="xp:customBilling" minOccurs="0" /><xs:element name="taxType" type="xp:govtTaxTypeEnum" minOccurs="0" /><xs:element ref="xp:enhancedData" minOccurs="0" /><xs:element ref="xp:processingInstructions" minOccurs="0" /><xs:element ref="xp:pos" minOccurs="0" /><xs:element ref="xp:amexAggregatorData" minOccurs="0" /><xs:element name="merchantData" type="xp:merchantDataType" minOccurs="0" /></xs:sequence></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="captureGivenAuth" substitutionGroup="xp:transaction"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:sequence><xs:element name="orderId" type="xp:string25Type" /><xs:element ref="xp:authInformation" /><xs:element name="amount" type="xp:transactionAmountType" /><xs:element name="orderSource" type="xp:orderSourceType" /><xs:element ref="xp:billToAddress" minOccurs="0" /><xs:element ref="xp:shipToAddress" minOccurs="0" /><xs:choice><xs:element name="card" type="xp:cardType" /><xs:element name="token" type="xp:cardTokenType" /><xs:element name="paypage" type="xp:cardPaypageType" /></xs:choice><xs:element ref="xp:customBilling" minOccurs="0" /><xs:element name="taxType" type="xp:govtTaxTypeEnum" minOccurs="0" /><xs:element ref="xp:billMeLaterRequest" minOccurs="0" /><xs:element ref="xp:enhancedData" minOccurs="0" /><xs:element ref="xp:processingInstructions" minOccurs="0" /><xs:element ref="xp:pos" minOccurs="0" /><xs:element ref="xp:amexAggregatorData" minOccurs="0" /><xs:element name="merchantData" type="xp:merchantDataType" minOccurs="0" /></xs:sequence></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="sale" substitutionGroup="xp:transaction"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:sequence><!-- This element was missing from the 6.2 online version but in the 6.2 online castor mapping. Batch version used here for consistence --><xs:element name="litleTxnId" type="xp:litleIdType" minOccurs="0" /><xs:element name="orderId" type="xp:string25Type" /><xs:element name="amount" type="xp:transactionAmountType" /><xs:element name="orderSource" type="xp:orderSourceType" /><xs:element ref="xp:customerInfo" minOccurs="0" /><xs:element ref="xp:billToAddress" minOccurs="0" /><xs:element ref="xp:shipToAddress" minOccurs="0" /><xs:choice><xs:element name="card" type="xp:cardType" /><xs:element name="paypal" type="xp:payPal" /><xs:element name="token" type="xp:cardTokenType" /><xs:element name="paypage" type="xp:cardPaypageType" /></xs:choice><xs:element ref="xp:billMeLaterRequest" minOccurs="0" /><!-- fraudCheck is not used in the mapping --><xs:choice><xs:element name="fraudCheck" type="xp:fraudCheckType" minOccurs="0" /><xs:element name="cardholderAuthentication" type="xp:fraudCheckType" minOccurs="0" /></xs:choice><xs:element ref="xp:customBilling" minOccurs="0" /><xs:element name="taxType" type="xp:govtTaxTypeEnum" minOccurs="0" /><xs:element ref="xp:enhancedData" minOccurs="0" /><xs:element ref="xp:processingInstructions" minOccurs="0" /><xs:element ref="xp:pos" minOccurs="0" /><xs:element name="payPalOrderComplete" type="xs:boolean" minOccurs="0" /><xs:element name="payPalNotes" type="xp:payPalNotesType" minOccurs="0" /><xs:element ref="xp:amexAggregatorData" minOccurs="0" /><xs:element name="allowPartialAuth" type="xs:boolean" minOccurs="0" /><xs:element ref="xp:healthcareIIAS" minOccurs="0" /><xs:element name="filtering" type="xp:filteringType" minOccurs="0"/><xs:element name="merchantData" type="xp:merchantDataType" minOccurs="0" /><xs:element name="recyclingRequest" type="xp:recyclingRequestType" minOccurs="0"/></xs:sequence></xs:extension></xs:complexContent></xs:complexType></xs:element><!-- Online credit txn --><xs:element name="credit" substitutionGroup="xp:transaction"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:sequence><xs:sequence><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="amount" type="xp:transactionAmountType" minOccurs="0" /><xs:element ref="xp:customBilling" minOccurs="0" /><xs:element ref="xp:enhancedData" minOccurs="0" /><xs:element ref="xp:processingInstructions" minOccurs="0" /><xs:element name="orderId" type="xp:string25Type" /><xs:element name="amount" type="xp:transactionAmountType" /><xs:element name="orderSource" type="xp:orderSourceType" /><xs:element ref="xp:billToAddress" minOccurs="0" /><xs:choice><xs:element name="card" type="xp:cardType" /><xs:element name="token" type="xp:cardTokenType" /><xs:element name="paypage" type="xp:cardPaypageType" /> <xs:element name="paypal"> <xs:complexType> <xs:choice> <xs:element name="payerId" minOccurs="1"> <xs:simpleType> <xs:restriction base="xs:string"><xs:whiteSpace value="collapse" /> <xs:minLength value="1" /> <xs:maxLength value="17" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="payerEmail" minOccurs="1"> <xs:simpleType> <xs:restriction base="xs:string"><xs:whiteSpace value="collapse" /> <xs:minLength value="1" /> <xs:maxLength value="127" /> </xs:restriction> </xs:simpleType> </xs:element> </xs:choice> </xs:complexType> </xs:element></xs:choice><xs:element ref="xp:customBilling" minOccurs="0" /><xs:element name="taxType" type="xp:govtTaxTypeEnum" minOccurs="0" /><xs:element ref="xp:billMeLaterRequest" minOccurs="0" /><xs:element ref="xp:enhancedData" minOccurs="0" /><xs:element ref="xp:processingInstructions" minOccurs="0" /><xs:element ref="xp:pos" minOccurs="0" /><xs:element ref="xp:amexAggregatorData" minOccurs="0" /><xs:element name="merchantData" type="xp:merchantDataType" minOccurs="0" /></xs:sequence><xs:element name="payPalNotes" type="xp:payPalNotesType" minOccurs="0" /></xs:sequence></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="billToAddress" type="xp:contact" /><xs:element name="shipToAddress" type="xp:contact" /><xs:element name="authInformation"><xs:complexType><xs:all><xs:element name="authDate" type="xs:date" /><xs:element name="authCode" type="xp:authCodeType" /><xs:element ref="xp:fraudResult" minOccurs="0" /><xs:element name="authAmount" type="xp:transactionAmountType" minOccurs="0" /></xs:all></xs:complexType></xs:element> <xs:element name="healthcareIIAS"><xs:complexType> <xs:sequence> <xs:element ref="xp:healthcareAmounts" minOccurs="1"/><xs:element name="IIASFlag" type="xp:IIASFlagType" minOccurs="1"/></xs:sequence></xs:complexType></xs:element><xs:element name="healthcareAmounts"> <xs:complexType> <xs:sequence> <xs:element name="totalHealthcareAmount" type="xp:transactionAmountType" minOccurs="1"/> <xs:element name="RxAmount" type="xp:transactionAmountType" minOccurs="0"/> <xs:element name="visionAmount" type="xp:transactionAmountType" minOccurs="0"/> <xs:element name="clinicOtherAmount" type="xp:transactionAmountType" minOccurs="0"/> <xs:element name="dentalAmount" type="xp:transactionAmountType" minOccurs="0"/> </xs:sequence> </xs:complexType></xs:element><xs:element name="enhancedData"><xs:complexType><xs:sequence><xs:element name="customerReference" type="xp:customerReferenceType" minOccurs="0" /><xs:element name="salesTax" type="xp:transactionAmountType" minOccurs="0" /><xs:element name="deliveryType" minOccurs="0" default="TBD"><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="CNC" /><xs:enumeration value="DIG" /><xs:enumeration value="PHY" /><xs:enumeration value="SVC" /><xs:enumeration value="TBD" /></xs:restriction></xs:simpleType></xs:element><xs:element name="taxExempt" type="xs:boolean" minOccurs="0" /><xs:element name="discountAmount" type="xp:transactionAmountType" minOccurs="0" /><xs:element name="shippingAmount" type="xp:transactionAmountType" minOccurs="0" /><xs:element name="dutyAmount" type="xp:transactionAmountType" minOccurs="0" /><xs:element name="shipFromPostalCode" type="xp:zipType" minOccurs="0" /><xs:element name="destinationPostalCode" type="xp:zipType" minOccurs="0" /><xs:element name="destinationCountryCode" type="xp:countryTypeEnum" minOccurs="0" /><xs:element name="invoiceReferenceNumber" type="xp:invoiceReferenceNumberType" minOccurs="0" /><xs:element name="orderDate" type="xs:date" minOccurs="0" /><xs:element ref="xp:detailTax" minOccurs="0" maxOccurs="6" /><xs:element ref="xp:lineItemData" minOccurs="0" maxOccurs="99" /></xs:sequence></xs:complexType></xs:element><xs:element name="amexAggregatorData"><xs:complexType><xs:sequence><xs:element name="sellerId" type="xp:sellerIdType" /><xs:element name="sellerMerchantCategoryCode" type="xp:merchantCategoryCodeType" /></xs:sequence></xs:complexType></xs:element><xs:element name="detailTax"><xs:complexType><xs:sequence><xs:element name="taxIncludedInTotal" type="xs:boolean" minOccurs="0" /><xs:element name="taxAmount" type="xp:transactionAmountType" /><xs:element name="taxRate" type="xp:taxRateType" minOccurs="0" /><xs:element name="taxTypeIdentifier" type="xp:taxTypeIdentifierEnum" minOccurs="0" /><xs:element name="cardAcceptorTaxId" type="xp:cardAcceptorTaxIdType" minOccurs="0" /></xs:sequence></xs:complexType></xs:element><xs:element name="lineItemData"><xs:complexType><xs:sequence><xs:element name="itemSequenceNumber" type="xp:itemSequenceNumberType" minOccurs="0" /><xs:element name="itemDescription" type="xp:itemDescriptionType" /><xs:element name="productCode" type="xp:productCodeType" minOccurs="0" /><xs:element name="quantity" type="xp:quantityType" minOccurs="0" /><xs:element name="unitOfMeasure" type="xp:unitOfMeasureType" minOccurs="0" /><xs:element name="taxAmount" type="xp:transactionAmountType" minOccurs="0" /><xs:element name="lineItemTotal" type="xp:transactionAmountType" minOccurs="0" /><!-- quantity * unit cost --><xs:element name="lineItemTotalWithTax" type="xp:transactionAmountType" minOccurs="0" /><!-- line item total + tax --><xs:element name="itemDiscountAmount" type="xp:transactionAmountType" minOccurs="0" /><xs:element name="commodityCode" type="xp:commodityCodeType" minOccurs="0" /><xs:element name="unitCost" type="xp:unitCostType" minOccurs="0" /><xs:element ref="xp:detailTax" minOccurs="0" maxOccurs="6" /></xs:sequence></xs:complexType></xs:element><xs:complexType name="accountInfoType"><xs:sequence><xs:element name="type" type="xp:methodOfPaymentTypeEnum" /><xs:element name="number" type="xp:ccAccountNumberType" minOccurs="0" /></xs:sequence></xs:complexType><xs:complexType name="cardType"><xs:sequence><xs:sequence><xs:element name="type" type="xp:methodOfPaymentTypeEnum" /> <xs:element name="number" type="xp:ccAccountNumberType" minOccurs="0"/><xs:element name="expDate" type="xp:expDateType" minOccurs="0" /><xs:element name="track" type="xp:trackDataType" /></xs:sequence><xs:element name="cardValidationNum" type="xp:cvNumType" minOccurs="0" /></xs:sequence></xs:complexType><xs:complexType name="cardTokenType"><xs:sequence><xs:element name="litleToken" type="xp:ccAccountNumberType"/><xs:element name="expDate" type="xp:expDateType" minOccurs="0" /><xs:element name="cardValidationNum" type="xp:cvNumType" minOccurs="0" /><xs:element name="type" type="xp:methodOfPaymentTypeEnum" minOccurs="0" /> </xs:sequence></xs:complexType><xs:complexType name="cardPaypageType"><xs:sequence><xs:element name="paypageRegistrationId" type="xp:string512Type"/><xs:element name="expDate" type="xp:expDateType" minOccurs="0" /><xs:element name="cardValidationNum" type="xp:cvNumType" minOccurs="0" /><xs:element name="type" type="xp:methodOfPaymentTypeEnum" minOccurs="0" /></xs:sequence></xs:complexType><xs:complexType name="echeckTokenType"><xs:sequence><xs:element name="litleToken" type="xp:ccAccountNumberType"/><xs:element name="routingNum" type="xp:routingNumberType" /><xs:element name="accType" type="xp:echeckAccountTypeEnum" /><xs:element name="checkNum" type="xp:checkNumberType" minOccurs="0" maxOccurs="1" /></xs:sequence></xs:complexType><xs:complexType name="tokenResponseType"><xs:sequence><xs:element name="litleToken" type="xp:ccAccountNumberType" minOccurs="0"/><xs:element name="tokenResponseCode" type="xp:responseType"/><xs:element name="tokenMessage" type="xs:string"/> <xs:element name="type" type="xp:methodOfPaymentTypeEnum" minOccurs="0"/><xs:element name="bin" type="xs:string" minOccurs="0"/><xs:element name="eCheckAccountSuffix" type="xs:string" minOccurs="0"/></xs:sequence></xs:complexType> <xs:complexType name="payPal"> <xs:sequence> <xs:element name="payerId" type="xs:string" minOccurs="1" /> <xs:element name="token" type="xs:string" minOccurs="0" /> <xs:element name="transactionId" type="xs:string" minOccurs="1" /> </xs:sequence> </xs:complexType><xs:simpleType name="payPalNotesType"><xs:restriction base="xs:string"><xs:maxLength value="255" /></xs:restriction></xs:simpleType> <xs:simpleType name="actionReasonType"> <xs:restriction base="xs:string"> <xs:maxLength value="255" /> <!-- <xs:enumeration value="UNKNOWN" /> <xs:enumeration value="SUSPECT_FRAUD" /> --> </xs:restriction> </xs:simpleType> <xs:element name="customBilling"><xs:complexType><xs:sequence><xs:choice><xs:element name="phone" type="xp:customBillingPhoneType" minOccurs="0" /><xs:element name="city" type="xp:customBillingCityType" minOccurs="0" /><xs:element name="url" type="xp:customBillingUrlType" minOccurs="0" /></xs:choice><xs:element name="descriptor" type="xp:descriptorType" minOccurs="0" /></xs:sequence></xs:complexType></xs:element><xs:simpleType name="taxTypeIdentifierEnum"><xs:restriction base="xs:string"><xs:enumeration value="00" /><!-- Unknown --><xs:enumeration value="01" /><!-- Federal/National Sales Tax --><xs:enumeration value="02" /><!-- State Sales Tax --><xs:enumeration value="03" /><!-- City Sales Tax --><xs:enumeration value="04" /><!-- Local Sales Tax --><xs:enumeration value="05" /><!-- Municipal Sales Tax --><xs:enumeration value="06" /><!-- Other Tax --><xs:enumeration value="10" /><!-- Value Added Tax (VAT) --><xs:enumeration value="11" /><!-- Goods and Services Tax (GST) --><xs:enumeration value="12" /><!-- Provincial Sales Tax (PST) --><xs:enumeration value="13" /><!-- Harmonized Sales Tax (HST) --><xs:enumeration value="14" /><!-- Quebec Sales Tax (QST) --><xs:enumeration value="20" /><!-- Room Tax --><xs:enumeration value="21" /><!-- Occupancy Tax --><xs:enumeration value="22" /><!-- Energy Tax --></xs:restriction></xs:simpleType><xs:element name="processingInstructions"><xs:complexType><xs:all><xs:element name="bypassVelocityCheck" type="xs:boolean" minOccurs="0" /></xs:all></xs:complexType></xs:element><xs:element name="pos"><xs:complexType><xs:all><xs:element name="capability" type="xp:posCapabilityTypeEnum" /><xs:element name="entryMode" type="xp:posEntryModeTypeEnum" /><xs:element name="cardholderId" type="xp:posCardholderIdTypeEnum" /></xs:all></xs:complexType></xs:element><xs:element name="registerTokenRequest" substitutionGroup="xp:transaction" type="xp:registerTokenRequestType"/> <xs:complexType name="registerTokenRequestType"> <xs:complexContent> <xs:extension base="xp:transactionTypeWithReportGroup"> <xs:sequence> <xs:element name="orderId" type="xp:string25Type" minOccurs="0" /> <xs:choice> <xs:element name="accountNumber" type="xp:ccAccountNumberType" /> <xs:element name="echeckForToken" type="xp:echeckForTokenType" /> <xs:element name="paypageRegistrationId" type="xp:string512Type" /> </xs:choice> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType><xs:element name="registerTokenResponse" substitutionGroup="xp:transactionResponse"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="orderId" type="xp:string25Type" minOccurs="0"/><xs:element name="litleToken" type="xp:ccAccountNumberType" minOccurs="0"/><xs:element name="bin" type="xs:string" minOccurs="0"/><xs:element name="type" type="xp:methodOfPaymentTypeEnum" minOccurs="0"/> <xs:element name="eCheckAccountSuffix" type="xs:string" minOccurs="0"/><xs:element name="response" type="xp:responseType" /><xs:element name="message" type="xs:string"/><xs:element name="responseTime" type="xs:dateTime" /></xs:all></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="transactionResponse" type="xp:transactionTypeWithReportGroup" abstract="true" /><xs:element name="authorizationResponse" substitutionGroup="xp:transactionResponse"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="orderId" type="xp:string25Type" /><xs:element name="response" type="xp:responseType" /><xs:element name="responseTime" type="xs:dateTime" /><xs:element name="cardProductId" type="xs:string" minOccurs="0" /><!-- online only --><xs:element name="postDate" type="xs:date" minOccurs="0" /><xs:element name="message" type="xp:messageType" /><xs:element name="authCode" type="xp:authCodeType" minOccurs="0" /><xs:element name="authorizationResponseSubCode" type="xs:string" minOccurs="0" /><xs:element name="approvedAmount" type="xp:transactionAmountType" minOccurs="0" /><xs:element name="accountInformation" minOccurs="0" type="xp:accountInfoType" /><xs:element ref="xp:accountUpdater" minOccurs="0" /><xs:element ref="xp:fraudResult" minOccurs="0" /><xs:element ref="xp:billMeLaterResponseData" minOccurs="0" /><!-- if tokenenized merchant --><xs:element name="tokenResponse" type="xp:tokenResponseType" minOccurs="0"/><xs:element ref="xp:enhancedAuthResponse" minOccurs="0" /><xs:element name="recycling" type="xp:recyclingType" minOccurs="0"/></xs:all></xs:extension></xs:complexContent></xs:complexType></xs:element> <xs:simpleType name="fundingSourceTypeEnum"> <xs:restriction base="xs:string"> <xs:enumeration value="UNKNOWN" /> <xs:enumeration value="PREPAID" /> <xs:enumeration value="FSA" /> <xs:enumeration value="CREDIT" /> <xs:enumeration value="DEBIT" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="affluenceTypeEnum"> <xs:restriction base="xs:string"> <xs:enumeration value="AFFLUENT" /> <xs:enumeration value="MASS AFFLUENT" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="reloadablePrepaidTypeEnum"> <xs:restriction base="xs:string"> <xs:enumeration value="UNKNOWN" /> <xs:enumeration value="YES" /> <xs:enumeration value="NO" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="cardProductTypeEnum"> <xs:restriction base="xs:string"> <xs:enumeration value="UNKNOWN" /> <xs:enumeration value="COMMERCIAL" /> <xs:enumeration value="CONSUMER" /> </xs:restriction> </xs:simpleType> <xs:complexType name="recycleAdviceType"> <xs:choice> <xs:element name="nextRecycleTime" type="xs:dateTime" /> <xs:element name="recycleAdviceEnd" type="xp:string20Type" /> </xs:choice> </xs:complexType> <xs:simpleType name="recycleByTypeEnum"> <xs:restriction base="xs:string"> <xs:enumeration value="Merchant" /> <xs:enumeration value="Litle" /> <xs:enumeration value="None" /> </xs:restriction> </xs:simpleType> <xs:complexType name="recyclingType"> <xs:sequence> <xs:element name="recycleAdvice" type="xp:recycleAdviceType" minOccurs="0"/> </xs:sequence> </xs:complexType> <xs:complexType name="recyclingRequestType"> <xs:sequence><xs:element name="recycleBy" type="xp:recycleByTypeEnum" minOccurs="0"/><xs:element name="recycleId" type="xp:string25Type" minOccurs="0"/> </xs:sequence> </xs:complexType> <xs:element name="enhancedAuthResponse"> <xs:complexType> <xs:sequence> <xs:element name="fundingSource" minOccurs="0" > <xs:complexType> <xs:sequence> <xs:element name="type" type="xp:fundingSourceTypeEnum"/> <xs:element name="availableBalance" type="xp:string20Type"/> <xs:element name="reloadable" type="xp:string50Type" minOccurs="0" /> <xs:element name="prepaidCardType" type="xp:string50Type" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="affluence" type="xp:affluenceTypeEnum" minOccurs="0" /> <xs:element name="issuerCountry" type="xp:string3Type" minOccurs="0" /> <xs:element name="cardProductType" type="xp:cardProductTypeEnum" minOccurs="0" /> </xs:sequence></xs:complexType> </xs:element><xs:element name="authReversalResponse" substitutionGroup="xp:transactionResponse"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="orderId" type="xp:string25Type" /><xs:element name="response" type="xp:responseType" /><xs:element name="responseTime" type="xs:dateTime" /><!-- postDate is online only --><xs:element name="postDate" type="xs:date" minOccurs="0" /><xs:element name="message" type="xp:messageType" /></xs:all></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="captureResponse" substitutionGroup="xp:transactionResponse"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><!-- batch only --><xs:element name="orderId" type="xp:string25Type" minOccurs="0" /><xs:element name="response" type="xp:responseType" /><xs:element name="responseTime" type="xs:dateTime" /><!-- postDate is online only --><xs:element name="postDate" type="xs:date" minOccurs="0" /><xs:element name="message" type="xp:messageType" /><xs:element ref="xp:accountUpdater" minOccurs="0" /></xs:all><!-- online only --><xs:attribute name="duplicate" type="xs:boolean" use="optional" /></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="forceCaptureResponse" substitutionGroup="xp:transactionResponse"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="orderId" type="xp:string25Type" /><xs:element name="response" type="xp:responseType" /><xs:element name="responseTime" type="xs:dateTime" /><!-- online only --><xs:element name="postDate" type="xs:date" minOccurs="0" /><xs:element name="message" type="xp:messageType" /><!-- if tokenenized merchant --><xs:element name="tokenResponse" type="xp:tokenResponseType" minOccurs="0"/><xs:element ref="xp:accountUpdater" minOccurs="0" /></xs:all><!-- online only, but missing in Mapping, remove<xs:attribute name="duplicate" type="xs:boolean" use="optional" /> --></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="captureGivenAuthResponse" substitutionGroup="xp:transactionResponse"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="orderId" type="xp:string25Type" /><xs:element name="response" type="xp:responseType" /><xs:element name="responseTime" type="xs:dateTime" /><!-- online only --><xs:element name="postDate" type="xs:date" minOccurs="0" /><xs:element name="message" type="xp:messageType" /><!-- if tokenenized merchant --><xs:element name="tokenResponse" type="xp:tokenResponseType" minOccurs="0"/></xs:all><!-- online only, but missing in Mapping, remove<xs:attribute name="duplicate" type="xs:boolean" use="optional" /> --></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="saleResponse" substitutionGroup="xp:transactionResponse"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="orderId" type="xp:string25Type" /><xs:element name="response" type="xp:responseType" /><xs:element name="responseTime" type="xs:dateTime" /><xs:element name="cardProductId" type="xs:string" minOccurs="0" /><xs:element name="postDate" type="xs:date" minOccurs="0" /><xs:element name="message" type="xp:messageType" /><xs:element name="authCode" type="xp:authCodeType" minOccurs="0" /><xs:element name="authorizationResponseSubCode" type="xs:string" minOccurs="0" /><xs:element name="approvedAmount" type="xp:transactionAmountType" minOccurs="0" /><xs:element name="accountInformation" minOccurs="0" type="xp:accountInfoType" /><xs:element ref="xp:fraudResult" minOccurs="0" /><xs:element ref="xp:billMeLaterResponseData" minOccurs="0" /><!-- if tokenenized merchant --><xs:element name="tokenResponse" type="xp:tokenResponseType" minOccurs="0"/><xs:element ref="xp:enhancedAuthResponse" minOccurs="0" /><xs:element ref="xp:accountUpdater" minOccurs="0" /><xs:element name="recycling" type="xp:recyclingType" minOccurs="0"/></xs:all><!-- online only --><xs:attribute name="duplicate" type="xs:boolean" use="optional" /></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="creditResponse" substitutionGroup="xp:transactionResponse"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="orderId" type="xp:string25Type" minOccurs="0" /><xs:element name="response" type="xp:responseType" /><xs:element name="responseTime" type="xs:dateTime" /><!-- online only --><xs:element name="postDate" type="xs:date" minOccurs="0" /><xs:element name="message" type="xp:messageType" /><!-- if tokenenized merchant --><xs:element name="tokenResponse" type="xp:tokenResponseType" minOccurs="0"/></xs:all><!-- online only --><xs:attribute name="duplicate" type="xs:boolean" use="optional" /></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="fraudResult"><xs:complexType><xs:all><xs:element name="avsResult" type="xp:string2Type" minOccurs="0" /><xs:element name="cardValidationResult" type="xs:string" minOccurs="0" /><!-- This is set by Visa and not by MC for 3DS only --><xs:element name="authenticationResult" type="xp:authenticationResultType" minOccurs="0" /><xs:element name="advancedAVSResult" type="xp:string3Type" minOccurs="0" /></xs:all></xs:complexType></xs:element> <!-- echeck --><xs:element name="echeckOrEcheckToken" abstract="true"/><xs:element name="echeck" substitutionGroup="xp:echeckOrEcheckToken" type="xp:echeckType"/><xs:element name="echeckToken" substitutionGroup="xp:echeckOrEcheckToken" type="xp:echeckTokenType"/><xs:element name="echeckSale" substitutionGroup="xp:transaction"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:sequence><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="amount" type="xp:transactionAmountType" minOccurs="0" /><xs:element ref="xp:customBilling" minOccurs="0" /><xs:element name="orderId" type="xp:string25Type" /><xs:element name="verify" type="xs:boolean" minOccurs="0" /><xs:element name="amount" type="xp:transactionAmountType" /><xs:element name="orderSource" type="xp:orderSourceType" /><xs:element ref="xp:billToAddress" /><xs:element ref="xp:shipToAddress" minOccurs="0"/><xs:element ref="xp:echeckOrEcheckToken" /><xs:element ref="xp:customBilling" minOccurs="0" /><xs:element name="merchantData" type="xp:merchantDataType" minOccurs="0" /></xs:sequence></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="echeckCredit" substitutionGroup="xp:transaction"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:sequence><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="amount" type="xp:transactionAmountType" minOccurs="0" /><xs:element ref="xp:customBilling" minOccurs="0" /><xs:element name="orderId" type="xp:string25Type" /><xs:element name="amount" type="xp:transactionAmountType" /><xs:element name="orderSource" type="xp:orderSourceType" /><xs:element ref="xp:billToAddress" /><xs:element ref="xp:echeckOrEcheckToken" /><xs:element ref="xp:customBilling" minOccurs="0" /><xs:element name="merchantData" type="xp:merchantDataType" minOccurs="0" /></xs:sequence></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="echeckVerification" substitutionGroup="xp:transaction"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" minOccurs="0" /><xs:element name="orderId" type="xp:string25Type" /><xs:element name="amount" type="xp:transactionAmountType" /> <!-- required but not tied to sale --><xs:element name="orderSource" type="xp:orderSourceType" /><xs:element ref="xp:billToAddress" minOccurs="1" /> <!-- must supply street, city and state as 2 digit postal state --><xs:element ref="xp:echeckOrEcheckToken" /></xs:all></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="echeckSalesResponse" substitutionGroup="xp:transactionResponse"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="orderId" type="xp:string25Type" minOccurs="0"/><xs:element name="response" type="xp:responseType" /><xs:element name="responseTime" type="xs:dateTime" /><xs:element name="message" type="xp:messageType" /><xs:element name="verificationCode" type="xp:authCodeType" minOccurs="0" /><!-- online only --><xs:element name="postDate" type="xs:date" minOccurs="0" /><xs:element ref="xp:accountUpdater" minOccurs="0" /><xs:element name="tokenResponse" type="xp:tokenResponseType" minOccurs="0"/></xs:all><xs:attribute name="duplicate" type="xs:boolean" use="optional" /></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="echeckCreditResponse" substitutionGroup="xp:transactionResponse"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="orderId" type="xp:string25Type" minOccurs="0"/><xs:element name="response" type="xp:responseType" /><xs:element name="responseTime" type="xs:dateTime" /><xs:element name="message" type="xp:messageType" /><!-- online only --><xs:element name="postDate" type="xs:date" minOccurs="0" /><xs:element ref="xp:accountUpdater" minOccurs="0" /><xs:element name="tokenResponse" type="xp:tokenResponseType" minOccurs="0"/></xs:all><xs:attribute name="duplicate" type="xs:boolean" use="optional" /></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:complexType name="echeckAccountInfoType"><xs:all><xs:element name="accType" type="xp:echeckAccountTypeEnum" /><xs:element name="accNum" type="xp:echeckAccountNumberType" /><xs:element name="routingNum" type="xp:routingNumberType" /></xs:all></xs:complexType><xs:complexType name="echeckTokenInfoType"><xs:all><xs:element name="accType" type="xp:echeckAccountTypeEnum" /><xs:element name="litleToken" type="xp:ccAccountNumberType" /><xs:element name="routingNum" type="xp:routingNumberType" /></xs:all></xs:complexType><xs:complexType name="cardAccountInfoType"><xs:all><xs:element name="type" type="xp:methodOfPaymentTypeEnum" /><xs:element name="number" type="xp:ccAccountNumberType"/><xs:element name="expDate" type="xp:expDateType"/></xs:all></xs:complexType><xs:complexType name="cardTokenInfoType"><xs:all><xs:element name="litleToken" type="xp:ccAccountNumberType" /><xs:element name="type" type="xp:methodOfPaymentTypeEnum" /><xs:element name="expDate" type="xp:expDateType" /><xs:element name="bin" type="xs:string" minOccurs="0" /></xs:all></xs:complexType><xs:complexType name="extendedCardResponseType"><xs:all><xs:element name="message" type="xp:messageType" /><xs:element name="code" type="xp:responseType" /></xs:all></xs:complexType> <xs:element name="accountUpdater"> <xs:complexType> <xs:choice> <xs:sequence> <xs:element name="originalAccountInfo" type="xp:echeckAccountInfoType" /> <xs:element name="newAccountInfo" type="xp:echeckAccountInfoType" /> </xs:sequence> <xs:sequence> <xs:element name="originalTokenInfo" type="xp:echeckTokenInfoType" /> <xs:element name="newTokenInfo" type="xp:echeckTokenInfoType" /> </xs:sequence> <xs:sequence> <xs:element name="originalCardInfo" type="xp:cardAccountInfoType" /> <xs:element name="newCardInfo" type="xp:cardAccountInfoType" /> <xs:element name="extendedCardResponse" type="xp:extendedCardResponseType" minOccurs="0" /> </xs:sequence> <xs:sequence> <xs:element name="originalCardTokenInfo" type="xp:cardTokenInfoType" /> <xs:element name="newCardTokenInfo" type="xp:cardTokenInfoType" /><xs:element name="extendedCardResponse" type="xp:extendedCardResponseType" minOccurs="0" /> </xs:sequence><xs:element name="extendedCardResponse" type="xp:extendedCardResponseType" minOccurs="0" /> </xs:choice> </xs:complexType> </xs:element><xs:element name="echeckVerificationResponse" substitutionGroup="xp:transactionResponse"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="orderId" type="xp:string25Type" /><xs:element name="response" type="xp:responseType" /><xs:element name="responseTime" type="xs:dateTime" /><xs:element name="message" type="xp:messageType" /><!-- postDate is online only --><xs:element name="postDate" type="xs:date" minOccurs="0" /><xs:element name="tokenResponse" type="xp:tokenResponseType" minOccurs="0"/></xs:all></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="echeckRedeposit" substitutionGroup="xp:transaction"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:sequence><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element ref="xp:echeckOrEcheckToken" minOccurs="0"/></xs:sequence></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="echeckRedepositResponse" substitutionGroup="xp:transactionResponse"><xs:complexType><xs:complexContent><xs:extension base="xp:transactionTypeWithReportGroup"><xs:all><xs:element name="litleTxnId" type="xp:litleIdType" /><xs:element name="response" type="xp:responseType" /><xs:element name="responseTime" type="xs:dateTime" /><xs:element name="message" type="xp:messageType" /><!-- online only --><xs:element name="postDate" type="xs:date" minOccurs="0" /><xs:element ref="xp:accountUpdater" minOccurs="0" /><xs:element name="tokenResponse" type="xp:tokenResponseType" minOccurs="0"/></xs:all></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:complexType name="echeckType"> <xs:all><xs:element name="accType" type="xp:echeckAccountTypeEnum" /><xs:element name="accNum" type="xp:echeckAccountNumberType" /><xs:element name="routingNum" type="xp:routingNumberType" /><xs:element name="checkNum" type="xp:checkNumberType" minOccurs="0" /></xs:all></xs:complexType> <xs:complexType name="echeckForTokenType"> <xs:all> <xs:element name="accNum" type="xp:echeckAccountNumberType" /> <xs:element name="routingNum" type="xp:routingNumberType" /> </xs:all> </xs:complexType><xs:simpleType name="echeckAccountTypeEnum"><xs:restriction base="xs:string"><xs:enumeration value="Checking" /><xs:enumeration value="Savings" /><xs:enumeration value="Corporate" /><xs:enumeration value="Corp Savings" /></xs:restriction></xs:simpleType><xs:simpleType name="echeckAccountNumberType"><xs:restriction base="xs:string"><xs:maxLength value="17" /></xs:restriction></xs:simpleType><xs:simpleType name="routingNumberType"><xs:restriction base="xs:string"><xs:minLength value="9" /><xs:maxLength value="9" /></xs:restriction></xs:simpleType><xs:simpleType name="checkNumberType"><xs:restriction base="xs:string"><xs:minLength value="1" /><xs:maxLength value="15" /></xs:restriction></xs:simpleType><!-- This is for secure, we need a value to indicate that CAVV was attempted but unavailable --><xs:simpleType name="authenticationValueType"><xs:restriction base="xs:string"><xs:maxLength value="32" /></xs:restriction></xs:simpleType><xs:simpleType name="authenticationTransactionIdType"><xs:restriction base="xs:string"><xs:maxLength value="28" /></xs:restriction></xs:simpleType><xs:simpleType name="reportGroupType"><xs:restriction base="xs:string"><xs:whiteSpace value="collapse" /><xs:minLength value="1" /><xs:maxLength value="25" /></xs:restriction></xs:simpleType><xs:simpleType name="merchantCategoryCodeType"><xs:restriction base="xs:string"><xs:whiteSpace value="collapse" /><xs:minLength value="1" /><xs:maxLength value="4" /></xs:restriction></xs:simpleType><xs:simpleType name="sellerIdType"><xs:restriction base="xs:string"><xs:whiteSpace value="collapse" /><xs:minLength value="1" /><xs:maxLength value="16" /></xs:restriction></xs:simpleType><xs:simpleType name="orderSourceType"><xs:restriction base="xs:string"><xs:enumeration value="ecommerce" /><xs:enumeration value="installment" /><xs:enumeration value="mailorder" /><xs:enumeration value="recurring" /><xs:enumeration value="retail" /><xs:enumeration value="telephone" /><xs:enumeration value="3dsAuthenticated" /><xs:enumeration value="3dsAttempted" /><!-- recurringtel is only for echeck --><xs:enumeration value="recurringtel" /></xs:restriction></xs:simpleType><xs:simpleType name="posCapabilityTypeEnum"><xs:restriction base="xs:string"><xs:enumeration value="notused" /><xs:enumeration value="magstripe" /><xs:enumeration value="keyedonly" /></xs:restriction></xs:simpleType><xs:simpleType name="posEntryModeTypeEnum"><xs:restriction base="xs:string"><xs:enumeration value="notused" /><xs:enumeration value="keyed" /><xs:enumeration value="track1" /><xs:enumeration value="track2" /><xs:enumeration value="completeread" /></xs:restriction></xs:simpleType><xs:simpleType name="posCardholderIdTypeEnum"><xs:restriction base="xs:string"><xs:enumeration value="signature" /><xs:enumeration value="pin" /><xs:enumeration value="nopin" /><xs:enumeration value="directmarket" /></xs:restriction></xs:simpleType><xs:simpleType name="ccAccountNumberType"><xs:restriction base="xs:string"><xs:minLength value="13" /><xs:maxLength value="25" /></xs:restriction></xs:simpleType><xs:simpleType name="expDateType"><xs:restriction base="xs:string"><xs:minLength value="4" /><xs:maxLength value="4" /></xs:restriction></xs:simpleType><xs:simpleType name="descriptorType"><xs:restriction base="xs:string"><xs:minLength value="4" /><xs:maxLength value="25" /><xs:pattern value="[A-Z,a-z,0-9, ,\*,,,\-,',#,&amp;,.]*" /></xs:restriction></xs:simpleType><xs:simpleType name="customBillingPhoneType"><xs:restriction base="xs:string"><xs:maxLength value="13" /><xs:pattern value="[0-9]*" /></xs:restriction></xs:simpleType><xs:simpleType name="trackDataType"><xs:restriction base="xs:string"><xs:whiteSpace value="collapse" /><xs:minLength value="1" /><xs:maxLength value="256" /></xs:restriction></xs:simpleType><xs:simpleType name="customerReferenceType"><xs:restriction base="xs:string"><xs:whiteSpace value="collapse" /><xs:minLength value="1" /><xs:maxLength value="17" /></xs:restriction></xs:simpleType><xs:simpleType name="invoiceReferenceNumberType"><xs:restriction base="xs:string"><xs:minLength value="1" /><xs:maxLength value="15" /></xs:restriction></xs:simpleType><xs:simpleType name="cardAcceptorTaxIdType"><xs:restriction base="xs:string"><xs:minLength value="1" /><xs:maxLength value="20" /></xs:restriction></xs:simpleType><xs:simpleType name="taxRateType"><xs:restriction base="xs:decimal"><xs:totalDigits value="5" /></xs:restriction></xs:simpleType><xs:simpleType name="itemSequenceNumberType"><xs:restriction base="xs:integer"><xs:minInclusive value="1" /><xs:maxInclusive value="99" /></xs:restriction></xs:simpleType><xs:simpleType name="itemDescriptionType"><xs:restriction base="xs:string"><xs:minLength value="1" /><xs:maxLength value="26" /></xs:restriction></xs:simpleType><xs:simpleType name="productCodeType"><xs:restriction base="xs:string"><xs:minLength value="1" /><xs:maxLength value="12" /></xs:restriction></xs:simpleType><xs:simpleType name="commodityCodeType"><xs:restriction base="xs:string"><xs:minLength value="1" /><xs:maxLength value="12" /></xs:restriction></xs:simpleType><xs:simpleType name="quantityType"><xs:restriction base="xs:decimal"><xs:minInclusive value="0" /><xs:totalDigits value="12" /></xs:restriction></xs:simpleType><xs:simpleType name="unitOfMeasureType"><xs:restriction base="xs:string"><xs:minLength value="1" /><xs:maxLength value="12" /></xs:restriction></xs:simpleType><xs:simpleType name="unitCostType"><xs:restriction base="xs:decimal"><xs:minInclusive value="0" /><xs:totalDigits value="12" /></xs:restriction></xs:simpleType><xs:simpleType name="ipAddress"><xs:restriction base="xs:string"><xs:pattern value="(\d{1,3}.){3}\d{1,3}" /></xs:restriction></xs:simpleType><xs:complexType name="filteringType"><xs:sequence><xs:element name="prepaid" type="xs:boolean" minOccurs="0"/><xs:element name="international" type="xs:boolean" minOccurs="0"/><xs:element name="chargeback" type="xs:boolean" minOccurs="0"/></xs:sequence></xs:complexType><xs:simpleType name="campaignType"><xs:restriction base="xs:string"><xs:whiteSpace value="collapse" /><xs:minLength value="1" /><xs:maxLength value="25" /></xs:restriction></xs:simpleType><xs:simpleType name="affiliateType"><xs:restriction base="xs:string"><xs:whiteSpace value="collapse" /><xs:minLength value="1" /><xs:maxLength value="25" /></xs:restriction></xs:simpleType><xs:simpleType name="merchantGroupingIdType"><xs:restriction base="xs:string"><xs:whiteSpace value="collapse" /><xs:minLength value="1" /><xs:maxLength value="25" /></xs:restriction></xs:simpleType></xs:schema>
View
BIN Project/GenerateCode/GenerateCode/obj/Debug/GenerateCode.exe
Binary file not shown.
View
BIN Project/GenerateCode/GenerateCode/obj/Debug/GenerateCode.pdb
Binary file not shown.

0 comments on commit 64f4c96

Please sign in to comment.