Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | /******************************************************************************* |
2 | * Copyright Ericsson Telecom AB | |
3 | * | |
4 | * XSD to TTCN-3 Translator | |
5 | * | |
6 | * All rights reserved. This program and the accompanying materials | |
7 | * are made available under the terms of the Eclipse Public License v1.0 | |
8 | * which accompanies this distribution, and is available at | |
9 | * http://www.eclipse.org/legal/epl-v10.html | |
10 | *******************************************************************************/ | |
11 | // | |
12 | // File: www_csapi_org_schema_parlayx_payment_volume_charging_v2_0_local_e.ttcn | |
13 | // Description: | |
14 | // References: | |
15 | // Rev: | |
16 | // Prodnr: | |
17 | // Updated: | |
18 | // Contact: http://ttcn.ericsson.se | |
19 | // | |
20 | //////////////////////////////////////////////////////////////////////////////// | |
21 | // | |
22 | // Generated from file(s): | |
23 | // | |
24 | // - parlayx_payment_volume_charging_interface_2_0.xsd | |
25 | // /* xml version = "1.0" */ | |
26 | // /* targetnamespace = "http://www.csapi.org/schema/parlayx/payment/volume_charging/v2_0/local" */ | |
27 | // | |
28 | //////////////////////////////////////////////////////////////////////////////// | |
29 | ||
30 | ||
31 | module www_csapi_org_schema_parlayx_payment_volume_charging_v2_0_local_e { | |
32 | ||
33 | ||
34 | import from XSD all; | |
35 | ||
36 | ||
37 | import from www_csapi_org_schema_parlayx_payment_v2_0_e all; | |
38 | ||
39 | ||
40 | import from www_csapi_org_schema_parlayx_common_v2_0_e all; | |
41 | ||
42 | ||
43 | type ChargeVolume_1 ChargeVolume | |
44 | with { | |
3f84031e | 45 | variant "name as uncapitalized"; |
46 | variant "element"; | |
970ed795 EL |
47 | }; |
48 | ||
49 | ||
50 | type record ChargeVolume_1 | |
51 | { | |
52 | XSD.AnyURI endUserIdentifier, | |
53 | XSD.Long volume, | |
54 | XSD.String billingText, | |
55 | XSD.String referenceCode | |
56 | } | |
57 | with { | |
3f84031e | 58 | variant "name as 'chargeVolume'"; |
970ed795 EL |
59 | }; |
60 | ||
61 | ||
62 | type ChargeVolumeResponse_1 ChargeVolumeResponse | |
63 | with { | |
3f84031e | 64 | variant "name as uncapitalized"; |
65 | variant "element"; | |
970ed795 EL |
66 | }; |
67 | ||
68 | ||
69 | type record ChargeVolumeResponse_1 | |
70 | { | |
71 | ||
72 | } | |
73 | with { | |
3f84031e | 74 | variant "name as 'chargeVolumeResponse'"; |
970ed795 EL |
75 | }; |
76 | ||
77 | ||
78 | type GetAmount_1 GetAmount | |
79 | with { | |
3f84031e | 80 | variant "name as uncapitalized"; |
81 | variant "element"; | |
970ed795 EL |
82 | }; |
83 | ||
84 | ||
85 | type record GetAmount_1 | |
86 | { | |
87 | XSD.AnyURI endUserIdentifier, | |
88 | XSD.Long volume, | |
89 | record of Property parameters_list | |
90 | } | |
91 | with { | |
3f84031e | 92 | variant "name as 'getAmount'"; |
93 | variant (parameters_list) "untagged"; | |
94 | variant (parameters_list[-]) "name as 'parameters'"; | |
970ed795 EL |
95 | }; |
96 | ||
97 | ||
98 | type GetAmountResponse_1 GetAmountResponse | |
99 | with { | |
3f84031e | 100 | variant "name as uncapitalized"; |
101 | variant "element"; | |
970ed795 EL |
102 | }; |
103 | ||
104 | ||
105 | type record GetAmountResponse_1 | |
106 | { | |
107 | XSD.Decimal result | |
108 | } | |
109 | with { | |
3f84031e | 110 | variant "name as 'getAmountResponse'"; |
970ed795 EL |
111 | }; |
112 | ||
113 | ||
114 | type RefundVolume_1 RefundVolume | |
115 | with { | |
3f84031e | 116 | variant "name as uncapitalized"; |
117 | variant "element"; | |
970ed795 EL |
118 | }; |
119 | ||
120 | ||
121 | type record RefundVolume_1 | |
122 | { | |
123 | XSD.AnyURI endUserIdentifier, | |
124 | XSD.Long volume, | |
125 | XSD.String billingText, | |
126 | XSD.String referenceCode | |
127 | } | |
128 | with { | |
3f84031e | 129 | variant "name as 'refundVolume'"; |
970ed795 EL |
130 | }; |
131 | ||
132 | ||
133 | type RefundVolumeResponse_1 RefundVolumeResponse | |
134 | with { | |
3f84031e | 135 | variant "name as uncapitalized"; |
136 | variant "element"; | |
970ed795 EL |
137 | }; |
138 | ||
139 | ||
140 | type record RefundVolumeResponse_1 | |
141 | { | |
142 | ||
143 | } | |
144 | with { | |
3f84031e | 145 | variant "name as 'refundVolumeResponse'"; |
970ed795 EL |
146 | }; |
147 | ||
148 | ||
149 | } | |
150 | with { | |
3f84031e | 151 | encode "XML"; |
152 | variant "namespace as 'http://www.csapi.org/schema/parlayx/payment/volume_charging/v2_0/local' prefix 'parlayx_payment_volume_charging_local_xsd'"; | |
153 | variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'"; | |
154 | variant "elementFormQualified"; | |
970ed795 | 155 | } |