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_reserve_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_reserve_volume_charging_interface_2_0.xsd | |
25 | // /* xml version = "1.0" */ | |
26 | // /* targetnamespace = "http://www.csapi.org/schema/parlayx/payment/reserve_volume_charging/v2_0/local" */ | |
27 | // | |
28 | //////////////////////////////////////////////////////////////////////////////// | |
29 | ||
30 | ||
31 | module www_csapi_org_schema_parlayx_payment_reserve_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 GetAmount_1 GetAmount | |
44 | with { | |
3f84031e | 45 | variant "name as uncapitalized"; |
46 | variant "element"; | |
970ed795 EL |
47 | }; |
48 | ||
49 | ||
50 | type record GetAmount_1 | |
51 | { | |
52 | XSD.AnyURI endUserIdentifier, | |
53 | XSD.Long volume, | |
54 | record of Property parameters_list | |
55 | } | |
56 | with { | |
3f84031e | 57 | variant "name as 'getAmount'"; |
58 | variant (parameters_list) "untagged"; | |
59 | variant (parameters_list[-]) "name as 'parameters'"; | |
970ed795 EL |
60 | }; |
61 | ||
62 | ||
63 | type GetAmountResponse_1 GetAmountResponse | |
64 | with { | |
3f84031e | 65 | variant "name as uncapitalized"; |
66 | variant "element"; | |
970ed795 EL |
67 | }; |
68 | ||
69 | ||
70 | type record GetAmountResponse_1 | |
71 | { | |
72 | XSD.Decimal result | |
73 | } | |
74 | with { | |
3f84031e | 75 | variant "name as 'getAmountResponse'"; |
970ed795 EL |
76 | }; |
77 | ||
78 | ||
79 | type ReserveVolume_1 ReserveVolume | |
80 | with { | |
3f84031e | 81 | variant "name as uncapitalized"; |
82 | variant "element"; | |
970ed795 EL |
83 | }; |
84 | ||
85 | ||
86 | type record ReserveVolume_1 | |
87 | { | |
88 | XSD.AnyURI endUserIdentifier, | |
89 | XSD.Long volume, | |
90 | XSD.String billingText | |
91 | } | |
92 | with { | |
3f84031e | 93 | variant "name as 'reserveVolume'"; |
970ed795 EL |
94 | }; |
95 | ||
96 | ||
97 | type ReserveVolumeResponse_1 ReserveVolumeResponse | |
98 | with { | |
3f84031e | 99 | variant "name as uncapitalized"; |
100 | variant "element"; | |
970ed795 EL |
101 | }; |
102 | ||
103 | ||
104 | type record ReserveVolumeResponse_1 | |
105 | { | |
106 | XSD.String result | |
107 | } | |
108 | with { | |
3f84031e | 109 | variant "name as 'reserveVolumeResponse'"; |
970ed795 EL |
110 | }; |
111 | ||
112 | ||
113 | type ReserveAdditionalVolume_1 ReserveAdditionalVolume | |
114 | with { | |
3f84031e | 115 | variant "name as uncapitalized"; |
116 | variant "element"; | |
970ed795 EL |
117 | }; |
118 | ||
119 | ||
120 | type record ReserveAdditionalVolume_1 | |
121 | { | |
122 | XSD.String reservationIdentifier, | |
123 | XSD.Long volume, | |
124 | XSD.String billingText | |
125 | } | |
126 | with { | |
3f84031e | 127 | variant "name as 'reserveAdditionalVolume'"; |
970ed795 EL |
128 | }; |
129 | ||
130 | ||
131 | type ReserveAdditionalVolumeResponse_1 ReserveAdditionalVolumeResponse | |
132 | with { | |
3f84031e | 133 | variant "name as uncapitalized"; |
134 | variant "element"; | |
970ed795 EL |
135 | }; |
136 | ||
137 | ||
138 | type record ReserveAdditionalVolumeResponse_1 | |
139 | { | |
140 | ||
141 | } | |
142 | with { | |
3f84031e | 143 | variant "name as 'reserveAdditionalVolumeResponse'"; |
970ed795 EL |
144 | }; |
145 | ||
146 | ||
147 | type ChargeReservation_1 ChargeReservation | |
148 | with { | |
3f84031e | 149 | variant "name as uncapitalized"; |
150 | variant "element"; | |
970ed795 EL |
151 | }; |
152 | ||
153 | ||
154 | type record ChargeReservation_1 | |
155 | { | |
156 | XSD.String reservationIdentifier, | |
157 | XSD.Long volume, | |
158 | XSD.String billingText, | |
159 | XSD.String referenceCode | |
160 | } | |
161 | with { | |
3f84031e | 162 | variant "name as 'chargeReservation'"; |
970ed795 EL |
163 | }; |
164 | ||
165 | ||
166 | type ChargeReservationResponse_1 ChargeReservationResponse | |
167 | with { | |
3f84031e | 168 | variant "name as uncapitalized"; |
169 | variant "element"; | |
970ed795 EL |
170 | }; |
171 | ||
172 | ||
173 | type record ChargeReservationResponse_1 | |
174 | { | |
175 | ||
176 | } | |
177 | with { | |
3f84031e | 178 | variant "name as 'chargeReservationResponse'"; |
970ed795 EL |
179 | }; |
180 | ||
181 | ||
182 | type ReleaseReservation_1 ReleaseReservation | |
183 | with { | |
3f84031e | 184 | variant "name as uncapitalized"; |
185 | variant "element"; | |
970ed795 EL |
186 | }; |
187 | ||
188 | ||
189 | type record ReleaseReservation_1 | |
190 | { | |
191 | XSD.String reservationIdentifier | |
192 | } | |
193 | with { | |
3f84031e | 194 | variant "name as 'releaseReservation'"; |
970ed795 EL |
195 | }; |
196 | ||
197 | ||
198 | type ReleaseReservationResponse_1 ReleaseReservationResponse | |
199 | with { | |
3f84031e | 200 | variant "name as uncapitalized"; |
201 | variant "element"; | |
970ed795 EL |
202 | }; |
203 | ||
204 | ||
205 | type record ReleaseReservationResponse_1 | |
206 | { | |
207 | ||
208 | } | |
209 | with { | |
3f84031e | 210 | variant "name as 'releaseReservationResponse'"; |
970ed795 EL |
211 | }; |
212 | ||
213 | ||
214 | } | |
215 | with { | |
3f84031e | 216 | encode "XML"; |
217 | variant "namespace as 'http://www.csapi.org/schema/parlayx/payment/reserve_volume_charging/v2_0/local' prefix 'parlayx_payment_reserve_volume_charging_local_xsd'"; | |
218 | variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'"; | |
219 | variant "elementFormQualified"; | |
970ed795 | 220 | } |