kaui 0.16.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/app/assets/javascripts/application.js +1 -1
- data/app/assets/javascripts/kaui/kaui.js +78 -1
- data/app/assets/stylesheets/bootstrap_and_overrides.css.less +5 -0
- data/app/assets/stylesheets/kaui/account.less +20 -0
- data/app/assets/stylesheets/kaui/audit.less +38 -0
- data/app/assets/stylesheets/kaui/common.less +103 -0
- data/app/assets/stylesheets/kaui/datatable.less +19 -0
- data/app/assets/stylesheets/kaui/kaui.less +3 -1
- data/app/assets/stylesheets/kaui/subscription.less +15 -0
- data/app/assets/stylesheets/kaui/tags.less +30 -1
- data/app/controllers/kaui/account_custom_fields_controller.rb +24 -0
- data/app/controllers/kaui/account_tags_controller.rb +21 -0
- data/app/controllers/kaui/accounts_controller.rb +43 -16
- data/app/controllers/kaui/admin_tenants_controller.rb +152 -11
- data/app/controllers/kaui/audit_logs_controller.rb +93 -0
- data/app/controllers/kaui/bundles_controller.rb +15 -3
- data/app/controllers/kaui/custom_fields_controller.rb +2 -0
- data/app/controllers/kaui/engine_controller_util.rb +14 -0
- data/app/controllers/kaui/invoice_items_controller.rb +17 -0
- data/app/controllers/kaui/invoices_controller.rb +22 -5
- data/app/controllers/kaui/payment_methods_controller.rb +10 -9
- data/app/controllers/kaui/subscriptions_controller.rb +54 -7
- data/app/controllers/kaui/tag_definitions_controller.rb +1 -0
- data/app/helpers/kaui/account_helper.rb +28 -0
- data/app/helpers/kaui/object_helper.rb +4 -0
- data/app/helpers/kaui/permissions_helper.rb +15 -0
- data/app/helpers/kaui/plugin_helper.rb +58 -0
- data/app/helpers/kaui/subscription_helper.rb +9 -7
- data/app/models/kaui/admin_tenant.rb +20 -6
- data/app/models/kaui/catalog.rb +4 -4
- data/app/models/kaui/tag.rb +1 -1
- data/app/models/kaui/tag_definition.rb +1 -1
- data/app/views/kaui/account_custom_fields/index.html.erb +35 -0
- data/app/views/kaui/account_tags/index.html.erb +35 -0
- data/app/views/kaui/accounts/_account_info.html.erb +5 -0
- data/app/views/kaui/accounts/_billing_info.html.erb +1 -1
- data/app/views/kaui/accounts/_close_account_modal.html.erb +98 -0
- data/app/views/kaui/accounts/index.html.erb +0 -7
- data/app/views/kaui/accounts/show.html.erb +4 -0
- data/app/views/kaui/admin_tenants/_add_allowed_user_modal.html.erb +64 -0
- data/app/views/kaui/admin_tenants/_form_plugin_config.erb +257 -151
- data/app/views/kaui/admin_tenants/_show_catalog_simple.erb +133 -48
- data/app/views/kaui/admin_tenants/_show_catalog_xml.erb +3 -2
- data/app/views/kaui/admin_tenants/show.html.erb +6 -1
- data/app/views/kaui/audit_logs/_show_history_modal.html.erb +177 -0
- data/app/views/kaui/audit_logs/index.html.erb +52 -0
- data/app/views/kaui/bundle_tags/_form_bar.html.erb +4 -2
- data/app/views/kaui/bundles/index.html.erb +21 -14
- data/app/views/kaui/chargebacks/_form.html.erb +1 -9
- data/app/views/kaui/charges/_form.html.erb +2 -10
- data/app/views/kaui/credits/_form.html.erb +1 -9
- data/app/views/kaui/custom_fields/_form.html.erb +1 -1
- data/app/views/kaui/custom_fields/_list_bar.html.erb +1 -1
- data/app/views/kaui/invoices/_invoice_table.html.erb +30 -2
- data/app/views/kaui/layouts/kaui_account_navbar.html.erb +7 -0
- data/app/views/kaui/layouts/kaui_flash.html.erb +13 -2
- data/app/views/kaui/payment_methods/_new_creditcard_payment_method.html.erb +11 -11
- data/app/views/kaui/payment_methods/_plugin_properties.html.erb +1 -1
- data/app/views/kaui/payments/_form.html.erb +1 -9
- data/app/views/kaui/refunds/_form.html.erb +4 -6
- data/app/views/kaui/subscriptions/_cancel_by_date_modal.html.erb +62 -0
- data/app/views/kaui/subscriptions/_form.html.erb +7 -13
- data/app/views/kaui/subscriptions/_subscriptions_table.html.erb +50 -11
- data/app/views/kaui/subscriptions/new.html.erb +3 -1
- data/app/views/kaui/tag_definitions/_form.html.erb +139 -0
- data/app/views/kaui/tags/index.html.erb +1 -1
- data/app/views/kaui/transactions/_control_plugin_names.html.erb +1 -1
- data/config/routes.rb +18 -2
- data/db/migrate/20130812155313_devise_create_kaui_users.rb +9 -7
- data/db/migrate/20150109214021_create_kaui_tenants.rb +8 -6
- data/db/migrate/20150112232813_create_kaui_allowed_users.rb +15 -11
- data/lib/kaui/engine.rb +1 -0
- data/lib/kaui/version.rb +1 -1
- data/test/dummy/config/database.yml +6 -1
- data/test/fixtures/SpyCarAdvanced.xml +824 -0
- data/test/functional/kaui/account_children_controller_test.rb +1 -1
- data/test/functional/kaui/account_custom_fields_controller_test.rb +29 -0
- data/test/functional/kaui/account_tags_controller_test.rb +19 -0
- data/test/functional/kaui/accounts_controller_test.rb +23 -6
- data/test/functional/kaui/admin_controller_test.rb +2 -2
- data/test/functional/kaui/admin_tenants_controller_test.rb +76 -5
- data/test/functional/kaui/audit_logs_controller_test.rb +71 -0
- data/test/functional/kaui/bundles_controller_test.rb +2 -1
- data/test/functional/kaui/payments_controller_test.rb +1 -1
- data/test/functional/kaui/subscriptions_controller_test.rb +1 -2
- data/test/functional/kaui/tag_definitions_controller_test.rb +2 -1
- data/test/killbill_test_helper.rb +5 -2
- data/test/unit/kaui/admin_tenant_test.rb +100 -0
- data/test/unit/kaui/money_helper_test.rb +1 -1
- metadata +58 -13
- data/app/assets/javascripts/kaui/validation.js +0 -21
- data/test/dummy/log/test.log +0 -0
@@ -0,0 +1,824 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!--
|
3
|
+
~ Copyright 2010-2013 Ning, Inc.
|
4
|
+
~
|
5
|
+
~ Ning licenses this file to you under the Apache License, version 2.0
|
6
|
+
~ (the "License"); you may not use this file except in compliance with the
|
7
|
+
~ License. You may obtain a copy of the License at:
|
8
|
+
~
|
9
|
+
~ http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
~
|
11
|
+
~ Unless required by applicable law or agreed to in writing, software
|
12
|
+
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
13
|
+
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
14
|
+
~ License for the specific language governing permissions and limitations
|
15
|
+
~ under the License.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<catalog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
19
|
+
xsi:noNamespaceSchemaLocation="CatalogSchema.xsd ">
|
20
|
+
|
21
|
+
<effectiveDate>2013-02-08T00:00:00+00:00</effectiveDate>
|
22
|
+
<catalogName>SpyCarAdvanced</catalogName>
|
23
|
+
|
24
|
+
<recurringBillingMode>IN_ADVANCE</recurringBillingMode>
|
25
|
+
|
26
|
+
<currencies>
|
27
|
+
<currency>USD</currency>
|
28
|
+
<currency>GBP</currency>
|
29
|
+
<currency>EUR</currency>
|
30
|
+
<currency>JPY</currency>
|
31
|
+
<currency>BTC</currency>
|
32
|
+
</currencies>
|
33
|
+
|
34
|
+
<units>
|
35
|
+
<unit name="gallons"/>
|
36
|
+
</units>
|
37
|
+
|
38
|
+
|
39
|
+
<products>
|
40
|
+
<product name="Standard">
|
41
|
+
<category>BASE</category>
|
42
|
+
</product>
|
43
|
+
<product name="Sports">
|
44
|
+
<category>BASE</category>
|
45
|
+
<available>
|
46
|
+
<addonProduct>OilSlick</addonProduct>
|
47
|
+
<addonProduct>RemoteControl</addonProduct>
|
48
|
+
<addonProduct>Gas</addonProduct>
|
49
|
+
</available>
|
50
|
+
</product>
|
51
|
+
<product name="Super">
|
52
|
+
<category>BASE</category>
|
53
|
+
<included>
|
54
|
+
<addonProduct>OilSlick</addonProduct>
|
55
|
+
</included>
|
56
|
+
<available>
|
57
|
+
<addonProduct>RemoteControl</addonProduct>
|
58
|
+
<addonProduct>Gas</addonProduct>
|
59
|
+
</available>
|
60
|
+
</product>
|
61
|
+
<product name="OilSlick">
|
62
|
+
<category>ADD_ON</category>
|
63
|
+
</product>
|
64
|
+
<product name="RemoteControl">
|
65
|
+
<category>ADD_ON</category>
|
66
|
+
</product>
|
67
|
+
<product name="Gas">
|
68
|
+
<category>ADD_ON</category>
|
69
|
+
</product>
|
70
|
+
</products>
|
71
|
+
|
72
|
+
<rules>
|
73
|
+
<changePolicy>
|
74
|
+
<changePolicyCase>
|
75
|
+
<phaseType>TRIAL</phaseType>
|
76
|
+
<policy>IMMEDIATE</policy>
|
77
|
+
</changePolicyCase>
|
78
|
+
<changePolicyCase>
|
79
|
+
<fromProduct>Standard</fromProduct>
|
80
|
+
<toProduct>Sports</toProduct>
|
81
|
+
<policy>IMMEDIATE</policy>
|
82
|
+
</changePolicyCase>
|
83
|
+
<changePolicyCase>
|
84
|
+
<toProduct>Super</toProduct>
|
85
|
+
<policy>IMMEDIATE</policy>
|
86
|
+
</changePolicyCase>
|
87
|
+
<changePolicyCase>
|
88
|
+
<policy>END_OF_TERM</policy>
|
89
|
+
</changePolicyCase>
|
90
|
+
</changePolicy>
|
91
|
+
<changeAlignment>
|
92
|
+
<changeAlignmentCase>
|
93
|
+
<toProductCategory>ADD_ON</toProductCategory>
|
94
|
+
<alignment>START_OF_BUNDLE</alignment>
|
95
|
+
</changeAlignmentCase>
|
96
|
+
<changeAlignmentCase>
|
97
|
+
<fromPriceList>SpecialDiscount</fromPriceList>
|
98
|
+
<toPriceList>SpecialDiscount</toPriceList>
|
99
|
+
<alignment>CHANGE_OF_PRICELIST</alignment>
|
100
|
+
</changeAlignmentCase>
|
101
|
+
<changeAlignmentCase>
|
102
|
+
<alignment>START_OF_SUBSCRIPTION</alignment>
|
103
|
+
</changeAlignmentCase>
|
104
|
+
</changeAlignment>
|
105
|
+
<cancelPolicy>
|
106
|
+
<cancelPolicyCase>
|
107
|
+
<productCategory>BASE</productCategory>
|
108
|
+
<policy>END_OF_TERM</policy>
|
109
|
+
</cancelPolicyCase>
|
110
|
+
<cancelPolicyCase>
|
111
|
+
<productCategory>ADD_ON</productCategory>
|
112
|
+
<policy>IMMEDIATE</policy>
|
113
|
+
</cancelPolicyCase>
|
114
|
+
<cancelPolicyCase>
|
115
|
+
<policy>END_OF_TERM</policy>
|
116
|
+
</cancelPolicyCase>
|
117
|
+
</cancelPolicy>
|
118
|
+
<createAlignment>
|
119
|
+
<createAlignmentCase>
|
120
|
+
<product>OilSlick</product>
|
121
|
+
<alignment>START_OF_BUNDLE</alignment>
|
122
|
+
</createAlignmentCase>
|
123
|
+
<createAlignmentCase>
|
124
|
+
<product>RemoteControl</product>
|
125
|
+
<alignment>START_OF_SUBSCRIPTION</alignment>
|
126
|
+
</createAlignmentCase>
|
127
|
+
<createAlignmentCase>
|
128
|
+
<alignment>START_OF_BUNDLE</alignment>
|
129
|
+
</createAlignmentCase>
|
130
|
+
</createAlignment>
|
131
|
+
<billingAlignment>
|
132
|
+
<billingAlignmentCase>
|
133
|
+
<productCategory>ADD_ON</productCategory>
|
134
|
+
<alignment>BUNDLE</alignment>
|
135
|
+
</billingAlignmentCase>
|
136
|
+
<billingAlignmentCase>
|
137
|
+
<billingPeriod>ANNUAL</billingPeriod>
|
138
|
+
<alignment>SUBSCRIPTION</alignment>
|
139
|
+
</billingAlignmentCase>
|
140
|
+
<billingAlignmentCase>
|
141
|
+
<alignment>ACCOUNT</alignment>
|
142
|
+
</billingAlignmentCase>
|
143
|
+
</billingAlignment>
|
144
|
+
<priceList>
|
145
|
+
<priceListCase>
|
146
|
+
<fromPriceList>SpecialDiscount</fromPriceList>
|
147
|
+
<toPriceList>DEFAULT</toPriceList>
|
148
|
+
</priceListCase>
|
149
|
+
<priceListCase>
|
150
|
+
<fromPriceList>CIA</fromPriceList>
|
151
|
+
<toPriceList>CIA</toPriceList>
|
152
|
+
</priceListCase>
|
153
|
+
<priceListCase>
|
154
|
+
<toPriceList>DEFAULT</toPriceList>
|
155
|
+
</priceListCase>
|
156
|
+
</priceList>
|
157
|
+
</rules>
|
158
|
+
|
159
|
+
<plans>
|
160
|
+
<plan name="standard-annual">
|
161
|
+
<product>Standard</product>
|
162
|
+
<initialPhases>
|
163
|
+
<phase type="TRIAL">
|
164
|
+
<duration>
|
165
|
+
<unit>DAYS</unit>
|
166
|
+
<number>30</number>
|
167
|
+
</duration>
|
168
|
+
<fixed>
|
169
|
+
<fixedPrice> <!-- empty price implies $0 -->
|
170
|
+
</fixedPrice>
|
171
|
+
</fixed>
|
172
|
+
</phase>
|
173
|
+
</initialPhases>
|
174
|
+
<finalPhase type="EVERGREEN">
|
175
|
+
<duration>
|
176
|
+
<unit>UNLIMITED</unit>
|
177
|
+
</duration>
|
178
|
+
<recurring>
|
179
|
+
<billingPeriod>ANNUAL</billingPeriod>
|
180
|
+
<recurringPrice>
|
181
|
+
<price>
|
182
|
+
<currency>GBP</currency>
|
183
|
+
<value>750.00</value>
|
184
|
+
</price>
|
185
|
+
<price>
|
186
|
+
<currency>EUR</currency>
|
187
|
+
<value>850.00</value>
|
188
|
+
</price>
|
189
|
+
<price>
|
190
|
+
<currency>USD</currency>
|
191
|
+
<value>1000.00</value>
|
192
|
+
</price>
|
193
|
+
<price>
|
194
|
+
<currency>JPY</currency>
|
195
|
+
<value>100.00</value>
|
196
|
+
</price>
|
197
|
+
<price>
|
198
|
+
<currency>BTC</currency>
|
199
|
+
<value>1.0</value>
|
200
|
+
</price>
|
201
|
+
</recurringPrice>
|
202
|
+
</recurring>
|
203
|
+
</finalPhase>
|
204
|
+
</plan>
|
205
|
+
<plan name="standard-monthly">
|
206
|
+
<product>Standard</product>
|
207
|
+
<initialPhases>
|
208
|
+
<phase type="TRIAL">
|
209
|
+
<duration>
|
210
|
+
<unit>DAYS</unit>
|
211
|
+
<number>30</number>
|
212
|
+
</duration>
|
213
|
+
<fixed>
|
214
|
+
<fixedPrice> <!-- empty price implies $0 -->
|
215
|
+
</fixedPrice>
|
216
|
+
</fixed>
|
217
|
+
</phase>
|
218
|
+
</initialPhases>
|
219
|
+
<finalPhase type="EVERGREEN">
|
220
|
+
<duration>
|
221
|
+
<unit>UNLIMITED</unit>
|
222
|
+
</duration>
|
223
|
+
<recurring>
|
224
|
+
<billingPeriod>MONTHLY</billingPeriod>
|
225
|
+
<recurringPrice>
|
226
|
+
<price>
|
227
|
+
<currency>GBP</currency>
|
228
|
+
<value>75.00</value>
|
229
|
+
</price>
|
230
|
+
<price>
|
231
|
+
<currency>EUR</currency>
|
232
|
+
<value>85.00</value>
|
233
|
+
</price>
|
234
|
+
<price>
|
235
|
+
<currency>USD</currency>
|
236
|
+
<value>100.00</value>
|
237
|
+
</price>
|
238
|
+
<price>
|
239
|
+
<currency>JPY</currency>
|
240
|
+
<value>10.00</value>
|
241
|
+
</price>
|
242
|
+
<price>
|
243
|
+
<currency>BTC</currency>
|
244
|
+
<value>0.1</value>
|
245
|
+
</price>
|
246
|
+
</recurringPrice>
|
247
|
+
</recurring>
|
248
|
+
</finalPhase>
|
249
|
+
</plan>
|
250
|
+
<plan name="sports-monthly">
|
251
|
+
<product>Sports</product>
|
252
|
+
<initialPhases>
|
253
|
+
<phase type="TRIAL">
|
254
|
+
<duration>
|
255
|
+
<unit>DAYS</unit>
|
256
|
+
<number>30</number>
|
257
|
+
</duration>
|
258
|
+
<fixed>
|
259
|
+
<fixedPrice> <!-- empty price implies $0 -->
|
260
|
+
</fixedPrice>
|
261
|
+
</fixed>
|
262
|
+
</phase>
|
263
|
+
</initialPhases>
|
264
|
+
<finalPhase type="EVERGREEN">
|
265
|
+
<duration>
|
266
|
+
<unit>UNLIMITED</unit>
|
267
|
+
</duration>
|
268
|
+
<recurring>
|
269
|
+
<billingPeriod>MONTHLY</billingPeriod>
|
270
|
+
<recurringPrice>
|
271
|
+
<price>
|
272
|
+
<currency>GBP</currency>
|
273
|
+
<value>375.00</value>
|
274
|
+
</price>
|
275
|
+
<price>
|
276
|
+
<currency>EUR</currency>
|
277
|
+
<value>425.00</value>
|
278
|
+
</price>
|
279
|
+
<price>
|
280
|
+
<currency>USD</currency>
|
281
|
+
<value>500.00</value>
|
282
|
+
</price>
|
283
|
+
<price>
|
284
|
+
<currency>JPY</currency>
|
285
|
+
<value>50.00</value>
|
286
|
+
</price>
|
287
|
+
<price>
|
288
|
+
<currency>BTC</currency>
|
289
|
+
<value>0.5</value>
|
290
|
+
</price>
|
291
|
+
</recurringPrice>
|
292
|
+
</recurring>
|
293
|
+
</finalPhase>
|
294
|
+
</plan>
|
295
|
+
<plan name="sports-annual">
|
296
|
+
<product>Sports</product>
|
297
|
+
<initialPhases>
|
298
|
+
<phase type="TRIAL">
|
299
|
+
<duration>
|
300
|
+
<unit>DAYS</unit>
|
301
|
+
<number>30</number>
|
302
|
+
</duration>
|
303
|
+
<fixed>
|
304
|
+
<fixedPrice> <!-- empty price implies $0 -->
|
305
|
+
</fixedPrice>
|
306
|
+
</fixed>
|
307
|
+
</phase>
|
308
|
+
</initialPhases>
|
309
|
+
<finalPhase type="EVERGREEN">
|
310
|
+
<duration>
|
311
|
+
<unit>UNLIMITED</unit>
|
312
|
+
</duration>
|
313
|
+
<recurring>
|
314
|
+
<billingPeriod>ANNUAL</billingPeriod>
|
315
|
+
<recurringPrice>
|
316
|
+
<price>
|
317
|
+
<currency>GBP</currency>
|
318
|
+
<value>3750.00</value>
|
319
|
+
</price>
|
320
|
+
<price>
|
321
|
+
<currency>EUR</currency>
|
322
|
+
<value>4250.00</value>
|
323
|
+
</price>
|
324
|
+
<price>
|
325
|
+
<currency>USD</currency>
|
326
|
+
<value>5000.00</value>
|
327
|
+
</price>
|
328
|
+
<price>
|
329
|
+
<currency>JPY</currency>
|
330
|
+
<value>500.00</value>
|
331
|
+
</price>
|
332
|
+
<price>
|
333
|
+
<currency>BTC</currency>
|
334
|
+
<value>5.0</value>
|
335
|
+
</price>
|
336
|
+
</recurringPrice>
|
337
|
+
</recurring>
|
338
|
+
</finalPhase>
|
339
|
+
</plan>
|
340
|
+
<plan name="super-monthly">
|
341
|
+
<product>Super</product>
|
342
|
+
<initialPhases>
|
343
|
+
<phase type="TRIAL">
|
344
|
+
<duration>
|
345
|
+
<unit>DAYS</unit>
|
346
|
+
<number>30</number>
|
347
|
+
</duration>
|
348
|
+
<fixed>
|
349
|
+
<fixedPrice> <!-- empty price implies $0 -->
|
350
|
+
</fixedPrice>
|
351
|
+
</fixed>
|
352
|
+
</phase>
|
353
|
+
</initialPhases>
|
354
|
+
<finalPhase type="EVERGREEN">
|
355
|
+
<duration>
|
356
|
+
<unit>UNLIMITED</unit>
|
357
|
+
</duration>
|
358
|
+
<recurring>
|
359
|
+
<billingPeriod>MONTHLY</billingPeriod>
|
360
|
+
<recurringPrice>
|
361
|
+
<price>
|
362
|
+
<currency>GBP</currency>
|
363
|
+
<value>750.00</value>
|
364
|
+
</price>
|
365
|
+
<price>
|
366
|
+
<currency>EUR</currency>
|
367
|
+
<value>850.00</value>
|
368
|
+
</price>
|
369
|
+
<price>
|
370
|
+
<currency>USD</currency>
|
371
|
+
<value>1000.00</value>
|
372
|
+
</price>
|
373
|
+
<price>
|
374
|
+
<currency>JPY</currency>
|
375
|
+
<value>100.00</value>
|
376
|
+
</price>
|
377
|
+
<price>
|
378
|
+
<currency>BTC</currency>
|
379
|
+
<value>1.0</value>
|
380
|
+
</price>
|
381
|
+
</recurringPrice>
|
382
|
+
</recurring>
|
383
|
+
</finalPhase>
|
384
|
+
</plan>
|
385
|
+
<plan name="discount-standard-monthly">
|
386
|
+
<product>Standard</product>
|
387
|
+
<initialPhases>
|
388
|
+
<phase type="TRIAL">
|
389
|
+
<duration>
|
390
|
+
<unit>DAYS</unit>
|
391
|
+
<number>30</number>
|
392
|
+
</duration>
|
393
|
+
<fixed>
|
394
|
+
<fixedPrice> <!-- empty price implies $0 -->
|
395
|
+
</fixedPrice>
|
396
|
+
</fixed>
|
397
|
+
</phase>
|
398
|
+
<phase type="DISCOUNT">
|
399
|
+
<duration>
|
400
|
+
<unit>MONTHS</unit>
|
401
|
+
<number>3</number>
|
402
|
+
</duration>
|
403
|
+
<recurring>
|
404
|
+
<billingPeriod>MONTHLY</billingPeriod>
|
405
|
+
<recurringPrice>
|
406
|
+
<price>
|
407
|
+
<currency>GBP</currency>
|
408
|
+
<value>50.00</value>
|
409
|
+
</price>
|
410
|
+
<price>
|
411
|
+
<currency>EUR</currency>
|
412
|
+
<value>60.00</value>
|
413
|
+
</price>
|
414
|
+
<price>
|
415
|
+
<currency>USD</currency>
|
416
|
+
<value>66.00</value>
|
417
|
+
</price>
|
418
|
+
<price>
|
419
|
+
<currency>JPY</currency>
|
420
|
+
<value>6.60</value>
|
421
|
+
</price>
|
422
|
+
<price>
|
423
|
+
<currency>BTC</currency>
|
424
|
+
<value>0.06</value>
|
425
|
+
</price>
|
426
|
+
</recurringPrice>
|
427
|
+
</recurring>
|
428
|
+
</phase>
|
429
|
+
</initialPhases>
|
430
|
+
<finalPhase type="EVERGREEN">
|
431
|
+
<duration>
|
432
|
+
<unit>UNLIMITED</unit>
|
433
|
+
</duration>
|
434
|
+
<recurring>
|
435
|
+
<billingPeriod>MONTHLY</billingPeriod>
|
436
|
+
<recurringPrice>
|
437
|
+
<price>
|
438
|
+
<currency>GBP</currency>
|
439
|
+
<value>75.00</value>
|
440
|
+
</price>
|
441
|
+
<price>
|
442
|
+
<currency>EUR</currency>
|
443
|
+
<value>85.00</value>
|
444
|
+
</price>
|
445
|
+
<price>
|
446
|
+
<currency>USD</currency>
|
447
|
+
<value>100.00</value>
|
448
|
+
</price>
|
449
|
+
<price>
|
450
|
+
<currency>JPY</currency>
|
451
|
+
<value>10.00</value>
|
452
|
+
</price>
|
453
|
+
<price>
|
454
|
+
<currency>BTC</currency>
|
455
|
+
<value>0.1</value>
|
456
|
+
</price>
|
457
|
+
</recurringPrice>
|
458
|
+
</recurring>
|
459
|
+
</finalPhase>
|
460
|
+
</plan>
|
461
|
+
<plan name="discount-sports-monthly">
|
462
|
+
<product>Sports</product>
|
463
|
+
<initialPhases>
|
464
|
+
<phase type="TRIAL">
|
465
|
+
<duration>
|
466
|
+
<unit>DAYS</unit>
|
467
|
+
<number>30</number>
|
468
|
+
</duration>
|
469
|
+
<fixed>
|
470
|
+
<fixedPrice> <!-- empty price implies $0 -->
|
471
|
+
</fixedPrice>
|
472
|
+
</fixed>
|
473
|
+
</phase>
|
474
|
+
<phase type="DISCOUNT">
|
475
|
+
<duration>
|
476
|
+
<unit>MONTHS</unit>
|
477
|
+
<number>3</number>
|
478
|
+
</duration>
|
479
|
+
<recurring>
|
480
|
+
<billingPeriod>MONTHLY</billingPeriod>
|
481
|
+
<recurringPrice>
|
482
|
+
<price>
|
483
|
+
<currency>GBP</currency>
|
484
|
+
<value>250.00</value>
|
485
|
+
</price>
|
486
|
+
<price>
|
487
|
+
<currency>EUR</currency>
|
488
|
+
<value>300.00</value>
|
489
|
+
</price>
|
490
|
+
<price>
|
491
|
+
<currency>USD</currency>
|
492
|
+
<value>333.00</value>
|
493
|
+
</price>
|
494
|
+
<price>
|
495
|
+
<currency>JPY</currency>
|
496
|
+
<value>33.30</value>
|
497
|
+
</price>
|
498
|
+
<price>
|
499
|
+
<currency>BTC</currency>
|
500
|
+
<value>0.3</value>
|
501
|
+
</price>
|
502
|
+
</recurringPrice>
|
503
|
+
</recurring>
|
504
|
+
</phase>
|
505
|
+
</initialPhases>
|
506
|
+
<finalPhase type="EVERGREEN">
|
507
|
+
<duration>
|
508
|
+
<unit>UNLIMITED</unit>
|
509
|
+
</duration>
|
510
|
+
<recurring>
|
511
|
+
<billingPeriod>MONTHLY</billingPeriod>
|
512
|
+
<recurringPrice>
|
513
|
+
<price>
|
514
|
+
<currency>GBP</currency>
|
515
|
+
<value>375.00</value>
|
516
|
+
</price>
|
517
|
+
<price>
|
518
|
+
<currency>EUR</currency>
|
519
|
+
<value>425.00</value>
|
520
|
+
</price>
|
521
|
+
<price>
|
522
|
+
<currency>USD</currency>
|
523
|
+
<value>500.00</value>
|
524
|
+
</price>
|
525
|
+
<price>
|
526
|
+
<currency>JPY</currency>
|
527
|
+
<value>50.00</value>
|
528
|
+
</price>
|
529
|
+
<price>
|
530
|
+
<currency>BTC</currency>
|
531
|
+
<value>0.5</value>
|
532
|
+
</price>
|
533
|
+
</recurringPrice>
|
534
|
+
</recurring>
|
535
|
+
</finalPhase>
|
536
|
+
</plan>
|
537
|
+
<plan name="discount-super-monthly">
|
538
|
+
<product>Super</product>
|
539
|
+
<initialPhases>
|
540
|
+
<phase type="TRIAL">
|
541
|
+
<duration>
|
542
|
+
<unit>DAYS</unit>
|
543
|
+
<number>30</number>
|
544
|
+
</duration>
|
545
|
+
<fixed>
|
546
|
+
<fixedPrice> <!-- empty price implies $0 -->
|
547
|
+
</fixedPrice>
|
548
|
+
</fixed>
|
549
|
+
</phase>
|
550
|
+
<phase type="DISCOUNT">
|
551
|
+
<duration>
|
552
|
+
<unit>MONTHS</unit>
|
553
|
+
<number>3</number>
|
554
|
+
</duration>
|
555
|
+
<recurring>
|
556
|
+
<billingPeriod>MONTHLY</billingPeriod>
|
557
|
+
<recurringPrice>
|
558
|
+
<price>
|
559
|
+
<currency>GBP</currency>
|
560
|
+
<value>500.00</value>
|
561
|
+
</price>
|
562
|
+
<price>
|
563
|
+
<currency>EUR</currency>
|
564
|
+
<value>600.00</value>
|
565
|
+
</price>
|
566
|
+
<price>
|
567
|
+
<currency>USD</currency>
|
568
|
+
<value>666.00</value>
|
569
|
+
</price>
|
570
|
+
<price>
|
571
|
+
<currency>JPY</currency>
|
572
|
+
<value>66.60</value>
|
573
|
+
</price>
|
574
|
+
<price>
|
575
|
+
<currency>BTC</currency>
|
576
|
+
<value>0.6</value>
|
577
|
+
</price>
|
578
|
+
</recurringPrice>
|
579
|
+
</recurring>
|
580
|
+
</phase>
|
581
|
+
</initialPhases>
|
582
|
+
<finalPhase type="EVERGREEN">
|
583
|
+
<duration>
|
584
|
+
<unit>UNLIMITED</unit>
|
585
|
+
</duration>
|
586
|
+
<recurring>
|
587
|
+
<billingPeriod>MONTHLY</billingPeriod>
|
588
|
+
<recurringPrice>
|
589
|
+
<price>
|
590
|
+
<currency>GBP</currency>
|
591
|
+
<value>750.00</value>
|
592
|
+
</price>
|
593
|
+
<price>
|
594
|
+
<currency>EUR</currency>
|
595
|
+
<value>850.00</value>
|
596
|
+
</price>
|
597
|
+
<price>
|
598
|
+
<currency>USD</currency>
|
599
|
+
<value>1000.00</value>
|
600
|
+
</price>
|
601
|
+
<price>
|
602
|
+
<currency>JPY</currency>
|
603
|
+
<value>100.00</value>
|
604
|
+
</price>
|
605
|
+
<price>
|
606
|
+
<currency>BTC</currency>
|
607
|
+
<value>1.0</value>
|
608
|
+
</price>
|
609
|
+
</recurringPrice>
|
610
|
+
</recurring>
|
611
|
+
</finalPhase>
|
612
|
+
</plan>
|
613
|
+
<plan name="oilslick-monthly">
|
614
|
+
<product>OilSlick</product>
|
615
|
+
<initialPhases>
|
616
|
+
<phase type="DISCOUNT">
|
617
|
+
<duration>
|
618
|
+
<unit>MONTHS</unit>
|
619
|
+
<number>1</number>
|
620
|
+
</duration>
|
621
|
+
<recurring>
|
622
|
+
<billingPeriod>MONTHLY</billingPeriod>
|
623
|
+
<recurringPrice>
|
624
|
+
<price>
|
625
|
+
<currency>GBP</currency>
|
626
|
+
<value>2.00</value>
|
627
|
+
</price>
|
628
|
+
<price>
|
629
|
+
<currency>EUR</currency>
|
630
|
+
<value>3.00</value>
|
631
|
+
</price>
|
632
|
+
<price>
|
633
|
+
<currency>USD</currency>
|
634
|
+
<value>4.00</value>
|
635
|
+
</price>
|
636
|
+
<price>
|
637
|
+
<currency>JPY</currency>
|
638
|
+
<value>0.40</value>
|
639
|
+
</price>
|
640
|
+
<price>
|
641
|
+
<currency>BTC</currency>
|
642
|
+
<value>0.01</value>
|
643
|
+
</price>
|
644
|
+
</recurringPrice>
|
645
|
+
</recurring>
|
646
|
+
</phase>
|
647
|
+
</initialPhases>
|
648
|
+
<finalPhase type="EVERGREEN">
|
649
|
+
<duration>
|
650
|
+
<unit>UNLIMITED</unit>
|
651
|
+
</duration>
|
652
|
+
<recurring>
|
653
|
+
<billingPeriod>MONTHLY</billingPeriod>
|
654
|
+
<recurringPrice>
|
655
|
+
<price>
|
656
|
+
<currency>GBP</currency>
|
657
|
+
<value>5.95</value>
|
658
|
+
</price>
|
659
|
+
<price>
|
660
|
+
<currency>EUR</currency>
|
661
|
+
<value>6.95</value>
|
662
|
+
</price>
|
663
|
+
<price>
|
664
|
+
<currency>USD</currency>
|
665
|
+
<value>7.95</value>
|
666
|
+
</price>
|
667
|
+
<price>
|
668
|
+
<currency>JPY</currency>
|
669
|
+
<value>0.80</value>
|
670
|
+
</price>
|
671
|
+
<price>
|
672
|
+
<currency>BTC</currency>
|
673
|
+
<value>0.01</value>
|
674
|
+
</price>
|
675
|
+
</recurringPrice>
|
676
|
+
</recurring>
|
677
|
+
</finalPhase>
|
678
|
+
</plan>
|
679
|
+
<plan name="remotecontrol-monthly">
|
680
|
+
<product>RemoteControl</product>
|
681
|
+
<initialPhases>
|
682
|
+
<phase type="DISCOUNT">
|
683
|
+
<duration>
|
684
|
+
<unit>MONTHS</unit>
|
685
|
+
<number>1</number>
|
686
|
+
</duration>
|
687
|
+
<recurring>
|
688
|
+
<billingPeriod>MONTHLY</billingPeriod>
|
689
|
+
<recurringPrice>
|
690
|
+
<price>
|
691
|
+
<currency>GBP</currency>
|
692
|
+
<value>5.00</value>
|
693
|
+
</price>
|
694
|
+
<price>
|
695
|
+
<currency>EUR</currency>
|
696
|
+
<value>7.00</value>
|
697
|
+
</price>
|
698
|
+
<price>
|
699
|
+
<currency>USD</currency>
|
700
|
+
<value>8.00</value>
|
701
|
+
</price>
|
702
|
+
<price>
|
703
|
+
<currency>JPY</currency>
|
704
|
+
<value>0.80</value>
|
705
|
+
</price>
|
706
|
+
<price>
|
707
|
+
<currency>BTC</currency>
|
708
|
+
<value>0.01</value>
|
709
|
+
</price>
|
710
|
+
</recurringPrice>
|
711
|
+
</recurring>
|
712
|
+
</phase>
|
713
|
+
</initialPhases>
|
714
|
+
<finalPhase type="EVERGREEN">
|
715
|
+
<duration>
|
716
|
+
<unit>UNLIMITED</unit>
|
717
|
+
</duration>
|
718
|
+
<recurring>
|
719
|
+
<billingPeriod>MONTHLY</billingPeriod>
|
720
|
+
<recurringPrice>
|
721
|
+
<price>
|
722
|
+
<currency>GBP</currency>
|
723
|
+
<value>15.95</value>
|
724
|
+
</price>
|
725
|
+
<price>
|
726
|
+
<currency>EUR</currency>
|
727
|
+
<value>16.95</value>
|
728
|
+
</price>
|
729
|
+
<price>
|
730
|
+
<currency>USD</currency>
|
731
|
+
<value>17.95</value>
|
732
|
+
</price>
|
733
|
+
<price>
|
734
|
+
<currency>JPY</currency>
|
735
|
+
<value>1.79</value>
|
736
|
+
</price>
|
737
|
+
<price>
|
738
|
+
<currency>BTC</currency>
|
739
|
+
<value>0.01</value>
|
740
|
+
</price>
|
741
|
+
</recurringPrice>
|
742
|
+
</recurring>
|
743
|
+
</finalPhase>
|
744
|
+
</plan>
|
745
|
+
<plan name="gas-monthly">
|
746
|
+
<product>Gas</product>
|
747
|
+
<finalPhase type="EVERGREEN">
|
748
|
+
<duration>
|
749
|
+
<unit>UNLIMITED</unit>
|
750
|
+
</duration>
|
751
|
+
<usages>
|
752
|
+
<usage name="gas-monthly-in-arrear" billingMode="IN_ARREAR" usageType="CONSUMABLE">
|
753
|
+
<billingPeriod>MONTHLY</billingPeriod>
|
754
|
+
<tiers>
|
755
|
+
<tier>
|
756
|
+
<blocks>
|
757
|
+
<tieredBlock>
|
758
|
+
<unit>gallons</unit>
|
759
|
+
<size>1</size>
|
760
|
+
<prices>
|
761
|
+
<price>
|
762
|
+
<currency>GBP</currency>
|
763
|
+
<value>1.95</value>
|
764
|
+
</price>
|
765
|
+
<price>
|
766
|
+
<currency>EUR</currency>
|
767
|
+
<value>2.95</value>
|
768
|
+
</price>
|
769
|
+
<price>
|
770
|
+
<currency>USD</currency>
|
771
|
+
<value>3.95</value>
|
772
|
+
</price>
|
773
|
+
<price>
|
774
|
+
<currency>JPY</currency>
|
775
|
+
<value>0.95</value>
|
776
|
+
</price>
|
777
|
+
<price>
|
778
|
+
<currency>BTC</currency>
|
779
|
+
<value>0.001</value>
|
780
|
+
</price>
|
781
|
+
</prices>
|
782
|
+
<max>100</max>
|
783
|
+
</tieredBlock>
|
784
|
+
</blocks>
|
785
|
+
</tier>
|
786
|
+
</tiers>
|
787
|
+
</usage>
|
788
|
+
</usages>
|
789
|
+
</finalPhase>
|
790
|
+
</plan>
|
791
|
+
</plans>
|
792
|
+
<priceLists>
|
793
|
+
<defaultPriceList name="DEFAULT">
|
794
|
+
<plans>
|
795
|
+
<plan>standard-annual</plan>
|
796
|
+
<plan>standard-monthly</plan>
|
797
|
+
<plan>sports-annual</plan>
|
798
|
+
<plan>sports-monthly</plan>
|
799
|
+
<plan>super-monthly</plan>
|
800
|
+
<plan>remotecontrol-monthly</plan>
|
801
|
+
<plan>oilslick-monthly</plan>
|
802
|
+
<plan>gas-monthly</plan>
|
803
|
+
</plans>
|
804
|
+
</defaultPriceList>
|
805
|
+
<childPriceList name="SpecialDiscount">
|
806
|
+
<plans>
|
807
|
+
<plan>discount-standard-monthly</plan>
|
808
|
+
<plan>discount-sports-monthly</plan>
|
809
|
+
<plan>discount-super-monthly</plan>
|
810
|
+
<plan>remotecontrol-monthly</plan>
|
811
|
+
<plan>oilslick-monthly</plan>
|
812
|
+
</plans>
|
813
|
+
</childPriceList>
|
814
|
+
<childPriceList name="CIA">
|
815
|
+
<plans>
|
816
|
+
<plan>discount-standard-monthly</plan>
|
817
|
+
<plan>discount-sports-monthly</plan>
|
818
|
+
<plan>discount-super-monthly</plan>
|
819
|
+
<plan>remotecontrol-monthly</plan>
|
820
|
+
<plan>oilslick-monthly</plan>
|
821
|
+
</plans>
|
822
|
+
</childPriceList>
|
823
|
+
</priceLists>
|
824
|
+
</catalog>
|