recurly 0.4.8 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of recurly might be problematic. Click here for more details.
- data/README.md +2 -2
- data/lib/recurly.rb +2 -1
- data/lib/recurly/account.rb +2 -2
- data/lib/recurly/base.rb +30 -12
- data/lib/recurly/billing_info.rb +2 -2
- data/lib/recurly/exceptions.rb +13 -0
- data/lib/recurly/plan.rb +1 -1
- data/lib/recurly/subscription.rb +2 -2
- data/lib/recurly/transaction.rb +2 -2
- data/lib/recurly/transparent.rb +1 -1
- data/lib/recurly/verification.rb +77 -0
- data/lib/recurly/version.rb +1 -1
- data/spec/config/recurly.yml +4 -4
- data/spec/integration/account_spec.rb +12 -0
- data/spec/integration/billing_info_spec.rb +2 -2
- data/spec/integration/charge_spec.rb +0 -1
- data/spec/integration/plan_spec.rb +2 -2
- data/spec/support/vcr.rb +2 -2
- data/spec/unit/verification_spec.rb +76 -0
- data/spec/vcr/account/accept-language-account/1313708721.yml +39 -0
- data/spec/vcr/account/close/1313708721.yml +104 -0
- data/spec/vcr/account/create-blank/1313708721.yml +33 -0
- data/spec/vcr/account/create-duplicate/1313708721.yml +69 -0
- data/spec/vcr/account/create-min/1313708721.yml +38 -0
- data/spec/vcr/account/create/1313708721.yml +39 -0
- data/spec/vcr/account/find/1313708721.yml +107 -0
- data/spec/vcr/account/list/1313708721.yml +878 -0
- data/spec/vcr/account/update/1313708721.yml +158 -0
- data/spec/vcr/billing/create/1313708721.yml +118 -0
- data/spec/vcr/billing/destroy/1313708721.yml +177 -0
- data/spec/vcr/billing/errors/1313708721.yml +71 -0
- data/spec/vcr/billing/find/1313708721.yml +156 -0
- data/spec/vcr/billing/update/1313708721.yml +159 -0
- data/spec/vcr/charge/create/1313708721.yml +153 -0
- data/spec/vcr/charge/delete-uninvoiced/1313708721.yml +206 -0
- data/spec/vcr/charge/list-all/1313708721.yml +198 -0
- data/spec/vcr/charge/list-invoiced/1313708721.yml +294 -0
- data/spec/vcr/charge/list-pending/1313708721.yml +200 -0
- data/spec/vcr/charge/lookup/1313708721.yml +112 -0
- data/spec/vcr/coupon/create/1296774903.yml +96 -170
- data/spec/vcr/coupon/destroy/1296774903.yml +114 -190
- data/spec/vcr/credit/create/1313708090.yml +112 -0
- data/spec/vcr/credit/delete/1313708090.yml +171 -0
- data/spec/vcr/credit/list/1313708090.yml +198 -0
- data/spec/vcr/credit/lookup/1313708090.yml +112 -0
- data/spec/vcr/invoice/create-no-charges/1296674173.yml +100 -185
- data/spec/vcr/invoice/create/1296674173.yml +182 -328
- data/spec/vcr/invoice/list/1296674173.yml +255 -442
- data/spec/vcr/invoice/lookup/1296674173.yml +187 -331
- data/spec/vcr/plan/all.yml +210 -253
- data/spec/vcr/plan/find.yml +115 -187
- data/spec/vcr/plan/update.yml +105 -187
- data/spec/vcr/subscription/addons/add/1296674173.yml +269 -212
- data/spec/vcr/subscription/addons/create/1296674173.yml +172 -212
- data/spec/vcr/subscription/addons/remove/1296674173.yml +257 -212
- data/spec/vcr/subscription/cancel-with-code/1296674173.yml +271 -452
- data/spec/vcr/subscription/cancel/1296674173.yml +234 -394
- data/spec/vcr/subscription/change1/1296674173.yml +237 -402
- data/spec/vcr/subscription/change2/1296674173.yml +238 -402
- data/spec/vcr/subscription/create/1296674173.yml +123 -221
- data/spec/vcr/subscription/find/1296674173.yml +161 -279
- data/spec/vcr/subscription/reactivate/1296674173.yml +261 -431
- data/spec/vcr/subscription/refund-full/1296674173.yml +223 -373
- data/spec/vcr/subscription/refund-none/1296674173.yml +223 -373
- data/spec/vcr/subscription/refund-partial/1296674173.yml +223 -373
- data/spec/vcr/transaction/all/1311126815.yml +215 -0
- data/spec/vcr/transaction/create-no-account/1311126815.yml +51 -0
- data/spec/vcr/transaction/create-with-account/1311126815.yml +125 -0
- data/spec/vcr/transaction/list-filled/1311126815.yml +349 -0
- data/spec/vcr/transaction/list-initial/1311126815.yml +123 -0
- data/spec/vcr/transaction/lookup/1311126815.yml +335 -0
- data/spec/vcr/transaction/refund/1311126815.yml +163 -0
- data/spec/vcr/transaction/void/1311126815.yml +215 -0
- data/spec/vcr/transparent/post-url/1311239470.yml +76 -0
- metadata +207 -154
- data/spec/vcr/account/accept-language-account/1296674173.yml +0 -70
- data/spec/vcr/account/close/1296674173.yml +0 -164
- data/spec/vcr/account/create-blank/1296674173.yml +0 -52
- data/spec/vcr/account/create-duplicate/1296674173.yml +0 -116
- data/spec/vcr/account/create-min/1296674173.yml +0 -66
- data/spec/vcr/account/create/1296674173.yml +0 -70
- data/spec/vcr/account/find/1296674173.yml +0 -169
- data/spec/vcr/account/list/1296674173.yml +0 -55
- data/spec/vcr/account/update/1296674173.yml +0 -258
- data/spec/vcr/billing/create/1296690812.yml +0 -215
- data/spec/vcr/billing/destroy/1296690812.yml +0 -294
- data/spec/vcr/billing/find/1296690812.yml +0 -280
- data/spec/vcr/billing/update/1296690812.yml +0 -297
- data/spec/vcr/charge/create/1296674173.yml +0 -262
- data/spec/vcr/charge/delete-uninvoiced/1296674173.yml +0 -307
- data/spec/vcr/charge/list-all/1296674173.yml +0 -316
- data/spec/vcr/charge/list-invoiced/1296674173.yml +0 -468
- data/spec/vcr/charge/list-pending/1296674173.yml +0 -316
- data/spec/vcr/charge/lookup/1296674173.yml +0 -180
- data/spec/vcr/coupon/create/1296688818.yml +0 -183
- data/spec/vcr/coupon/destroy/1296688818.yml +0 -207
- data/spec/vcr/credit/create/1296674173.yml +0 -121
- data/spec/vcr/credit/delete/1296674173.yml +0 -121
- data/spec/vcr/credit/list/1296674173.yml +0 -121
- data/spec/vcr/credit/lookup/1296674173.yml +0 -121
- data/spec/vcr/plan/delete/1296674173.yml +0 -225
- data/spec/vcr/transaction/all/1296674173.yml +0 -389
- data/spec/vcr/transaction/create-no-account/1296674173.yml +0 -93
- data/spec/vcr/transaction/create-with-account/1296674173.yml +0 -225
- data/spec/vcr/transaction/list-filled/1296674173.yml +0 -487
- data/spec/vcr/transaction/list-initial/1296674173.yml +0 -217
- data/spec/vcr/transaction/lookup/1296674173.yml +0 -563
- data/spec/vcr/transaction/refund/1296674173.yml +0 -287
- data/spec/vcr/transaction/void/1296674173.yml +0 -352
- data/spec/vcr/transparent/post-url/1311127536.yml +0 -0
- data/spec/vcr/transparent/post-url/1311127583.yml +0 -0
- data/spec/vcr/transparent/post-url/1311128042.yml +0 -0
- data/spec/vcr/transparent/post-url/1311128073.yml +0 -0
- data/spec/vcr/transparent/post-url/1311128087.yml +0 -0
data/spec/vcr/plan/all.yml
CHANGED
@@ -1,268 +1,225 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
|
9
|
-
-
|
10
|
-
accept:
|
5
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/site/plans/paid.xml
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- Recurly Ruby Client v0.4.10
|
10
|
+
accept:
|
11
11
|
- application/xml
|
12
|
-
accept-encoding:
|
12
|
+
accept-encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
-
|
15
|
-
|
16
|
-
connection:
|
17
|
-
- close
|
18
|
-
response: !ruby/struct:VCR::Response
|
19
|
-
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
20
16
|
code: 200
|
21
|
-
message:
|
22
|
-
headers:
|
23
|
-
|
24
|
-
- "200"
|
25
|
-
content-type:
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
content-type:
|
26
20
|
- application/xml; charset=utf-8
|
27
|
-
etag:
|
28
|
-
- "
|
29
|
-
cache-control:
|
30
|
-
-
|
31
|
-
|
32
|
-
-
|
33
|
-
|
34
|
-
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
<
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
<trial_interval_length type="integer">0</trial_interval_length>
|
55
|
-
<trial_interval_unit>months</trial_interval_unit>
|
56
|
-
<latest_version depreciated="true">
|
57
|
-
<version type="integer">1</version>
|
58
|
-
<unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
|
59
|
-
<setup_fee_in_cents type="integer">0</setup_fee_in_cents>
|
60
|
-
<plan_interval_length type="integer">1</plan_interval_length>
|
61
|
-
<plan_interval_unit>months</plan_interval_unit>
|
62
|
-
<trial_interval_length type="integer">0</trial_interval_length>
|
63
|
-
<trial_interval_unit>months</trial_interval_unit>
|
64
|
-
<created_at type="datetime">2011-02-02T21:02:59Z</created_at>
|
65
|
-
</latest_version>
|
66
|
-
</plan>
|
67
|
-
|
68
|
-
http_version: "1.1"
|
69
|
-
- !ruby/struct:VCR::HTTPInteraction
|
70
|
-
request: !ruby/struct:VCR::Request
|
21
|
+
etag:
|
22
|
+
- ! '"30df1bac5befaf2f9fc4564c2103a07b"'
|
23
|
+
cache-control:
|
24
|
+
- max-age=0, private, must-revalidate
|
25
|
+
x-ua-compatible:
|
26
|
+
- IE=Edge
|
27
|
+
set-cookie:
|
28
|
+
- _recurly_session=d9e4f503bb5122012f5e5adc517272e3; domain=.lvh.me; path=/;
|
29
|
+
HttpOnly
|
30
|
+
server:
|
31
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
32
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<plan>\n <plan_code>paid</plan_code>\n
|
33
|
+
\ <name>Paid Plan</name>\n <description></description>\n <success_url></success_url>\n
|
34
|
+
\ <cancel_url></cancel_url>\n <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n
|
35
|
+
\ <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n <setup_fee_in_cents
|
36
|
+
type=\"integer\">0</setup_fee_in_cents>\n <plan_interval_length type=\"integer\">1</plan_interval_length>\n
|
37
|
+
\ <plan_interval_unit>months</plan_interval_unit>\n <trial_interval_length
|
38
|
+
type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
|
39
|
+
\ <add_ons type=\"array\">\n <add_on>\n <add_on_code>special</add_on_code>\n
|
40
|
+
\ <default_quantity type=\"integer\">1</default_quantity>\n <default_unit_amount_in_cents
|
41
|
+
type=\"integer\">400</default_unit_amount_in_cents>\n </add_on>\n <add_on>\n
|
42
|
+
\ <add_on_code>special2</add_on_code>\n <default_quantity type=\"integer\">1</default_quantity>\n
|
43
|
+
\ <default_unit_amount_in_cents type=\"integer\">1600</default_unit_amount_in_cents>\n
|
44
|
+
\ </add_on>\n </add_ons>\n</plan>\n"
|
45
|
+
http_version: '1.1'
|
46
|
+
- !ruby/struct:VCR::HTTPInteraction
|
47
|
+
request: !ruby/struct:VCR::Request
|
71
48
|
method: :get
|
72
|
-
uri: http://
|
73
|
-
body:
|
74
|
-
headers:
|
75
|
-
|
76
|
-
-
|
77
|
-
accept:
|
49
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/site/plans/trial.xml
|
50
|
+
body: !!null
|
51
|
+
headers:
|
52
|
+
user-agent:
|
53
|
+
- Recurly Ruby Client v0.4.10
|
54
|
+
accept:
|
78
55
|
- application/xml
|
79
|
-
accept-encoding:
|
56
|
+
accept-encoding:
|
80
57
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
81
|
-
|
82
|
-
|
83
|
-
connection:
|
84
|
-
- close
|
85
|
-
response: !ruby/struct:VCR::Response
|
86
|
-
status: !ruby/struct:VCR::ResponseStatus
|
58
|
+
response: !ruby/struct:VCR::Response
|
59
|
+
status: !ruby/struct:VCR::ResponseStatus
|
87
60
|
code: 200
|
88
|
-
message:
|
89
|
-
headers:
|
90
|
-
|
91
|
-
- "200"
|
92
|
-
content-type:
|
61
|
+
message: OK
|
62
|
+
headers:
|
63
|
+
content-type:
|
93
64
|
- application/xml; charset=utf-8
|
94
|
-
etag:
|
95
|
-
- "
|
96
|
-
cache-control:
|
97
|
-
-
|
98
|
-
|
99
|
-
-
|
100
|
-
|
101
|
-
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
<
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
<setup_fee_in_cents type="integer">0</setup_fee_in_cents>
|
119
|
-
<plan_interval_length type="integer">1</plan_interval_length>
|
120
|
-
<plan_interval_unit>months</plan_interval_unit>
|
121
|
-
<trial_interval_length type="integer">1</trial_interval_length>
|
122
|
-
<trial_interval_unit>months</trial_interval_unit>
|
123
|
-
<latest_version depreciated="true">
|
124
|
-
<version type="integer">1</version>
|
125
|
-
<unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
|
126
|
-
<setup_fee_in_cents type="integer">0</setup_fee_in_cents>
|
127
|
-
<plan_interval_length type="integer">1</plan_interval_length>
|
128
|
-
<plan_interval_unit>months</plan_interval_unit>
|
129
|
-
<trial_interval_length type="integer">1</trial_interval_length>
|
130
|
-
<trial_interval_unit>months</trial_interval_unit>
|
131
|
-
<created_at type="datetime">2011-02-02T21:10:36Z</created_at>
|
132
|
-
</latest_version>
|
133
|
-
</plan>
|
134
|
-
|
135
|
-
http_version: "1.1"
|
136
|
-
- !ruby/struct:VCR::HTTPInteraction
|
137
|
-
request: !ruby/struct:VCR::Request
|
65
|
+
etag:
|
66
|
+
- ! '"59cde5d8005c9fb406f30e3b3e4a776d"'
|
67
|
+
cache-control:
|
68
|
+
- max-age=0, private, must-revalidate
|
69
|
+
x-ua-compatible:
|
70
|
+
- IE=Edge
|
71
|
+
set-cookie:
|
72
|
+
- _recurly_session=7401cd2b61acf4b58290cb0cb623d819; domain=.lvh.me; path=/;
|
73
|
+
HttpOnly
|
74
|
+
server:
|
75
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
76
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<plan>\n <plan_code>trial</plan_code>\n
|
77
|
+
\ <name>Trial</name>\n <description></description>\n <success_url></success_url>\n
|
78
|
+
\ <cancel_url></cancel_url>\n <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n
|
79
|
+
\ <unit_amount_in_cents type=\"integer\">500</unit_amount_in_cents>\n <setup_fee_in_cents
|
80
|
+
type=\"integer\">0</setup_fee_in_cents>\n <plan_interval_length type=\"integer\">1</plan_interval_length>\n
|
81
|
+
\ <plan_interval_unit>months</plan_interval_unit>\n <trial_interval_length
|
82
|
+
type=\"integer\">1</trial_interval_length>\n <trial_interval_unit>months</trial_interval_unit>\n
|
83
|
+
\ <add_ons type=\"array\">\n <add_on>\n <add_on_code>coffee</add_on_code>\n
|
84
|
+
\ <default_quantity type=\"integer\">1</default_quantity>\n <default_unit_amount_in_cents
|
85
|
+
type=\"integer\">100</default_unit_amount_in_cents>\n </add_on>\n </add_ons>\n</plan>\n"
|
86
|
+
http_version: '1.1'
|
87
|
+
- !ruby/struct:VCR::HTTPInteraction
|
88
|
+
request: !ruby/struct:VCR::Request
|
138
89
|
method: :get
|
139
|
-
uri: http://
|
140
|
-
body:
|
141
|
-
headers:
|
142
|
-
|
143
|
-
-
|
144
|
-
accept:
|
90
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/site/plans.xml
|
91
|
+
body: !!null
|
92
|
+
headers:
|
93
|
+
user-agent:
|
94
|
+
- Recurly Ruby Client v0.4.10
|
95
|
+
accept:
|
145
96
|
- application/xml
|
146
|
-
accept-encoding:
|
97
|
+
accept-encoding:
|
147
98
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
148
|
-
|
149
|
-
|
150
|
-
connection:
|
151
|
-
- close
|
152
|
-
response: !ruby/struct:VCR::Response
|
153
|
-
status: !ruby/struct:VCR::ResponseStatus
|
99
|
+
response: !ruby/struct:VCR::Response
|
100
|
+
status: !ruby/struct:VCR::ResponseStatus
|
154
101
|
code: 200
|
155
|
-
message:
|
156
|
-
headers:
|
157
|
-
|
158
|
-
- "209"
|
159
|
-
content-type:
|
102
|
+
message: OK
|
103
|
+
headers:
|
104
|
+
content-type:
|
160
105
|
- application/xml; charset=utf-8
|
161
|
-
etag:
|
162
|
-
- "
|
163
|
-
cache-control:
|
164
|
-
-
|
165
|
-
|
166
|
-
-
|
167
|
-
|
168
|
-
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
-
|
175
|
-
|
176
|
-
|
177
|
-
<
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
<
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
</
|
244
|
-
<
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
</
|
266
|
-
</
|
267
|
-
|
268
|
-
|
106
|
+
etag:
|
107
|
+
- ! '"df989bca22273007969e130f98441d2c"'
|
108
|
+
cache-control:
|
109
|
+
- max-age=0, private, must-revalidate
|
110
|
+
x-ua-compatible:
|
111
|
+
- IE=Edge
|
112
|
+
set-cookie:
|
113
|
+
- _recurly_session=2ce8c5ad5812131e5b42d06dc3089e66; domain=.lvh.me; path=/;
|
114
|
+
HttpOnly
|
115
|
+
server:
|
116
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
117
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<plans type=\"array\">\n
|
118
|
+
\ <plan>\n <plan_code>gold</plan_code>\n <name>Gold</name>\n <description></description>\n
|
119
|
+
\ <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n <plan_interval_length
|
120
|
+
type=\"integer\">1</plan_interval_length>\n <plan_interval_unit>months</plan_interval_unit>\n
|
121
|
+
\ <trial_interval_length type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
|
122
|
+
\ <unit_amount_in_cents type=\"integer\" depreciated=\"true\">1500</unit_amount_in_cents>\n
|
123
|
+
\ <setup_fee_in_cents type=\"integer\" depreciated=\"true\">0</setup_fee_in_cents>\n
|
124
|
+
\ <currencies type=\"array\">\n <currency>\n <currency_code>USD</currency_code>\n
|
125
|
+
\ <unit_amount_in_cents type=\"integer\">1500</unit_amount_in_cents>\n
|
126
|
+
\ <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n </currency>\n
|
127
|
+
\ </currencies>\n </plan>\n <plan>\n <plan_code>gonzo-gold</plan_code>\n
|
128
|
+
\ <name>Gonzo</name>\n <description></description>\n <created_at type=\"datetime\">2011-08-02T22:22:21Z</created_at>\n
|
129
|
+
\ <plan_interval_length type=\"integer\">1</plan_interval_length>\n <plan_interval_unit>months</plan_interval_unit>\n
|
130
|
+
\ <trial_interval_length type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
|
131
|
+
\ <unit_amount_in_cents type=\"integer\" depreciated=\"true\">3400</unit_amount_in_cents>\n
|
132
|
+
\ <setup_fee_in_cents type=\"integer\" depreciated=\"true\">2300</setup_fee_in_cents>\n
|
133
|
+
\ <currencies type=\"array\">\n <currency>\n <currency_code>USD</currency_code>\n
|
134
|
+
\ <unit_amount_in_cents type=\"integer\">3400</unit_amount_in_cents>\n
|
135
|
+
\ <setup_fee_in_cents type=\"integer\">2300</setup_fee_in_cents>\n </currency>\n
|
136
|
+
\ </currencies>\n </plan>\n <plan>\n <plan_code>hello</plan_code>\n <name>Hello</name>\n
|
137
|
+
\ <description></description>\n <created_at type=\"datetime\">2011-08-04T20:16:58Z</created_at>\n
|
138
|
+
\ <plan_interval_length type=\"integer\">1</plan_interval_length>\n <plan_interval_unit>months</plan_interval_unit>\n
|
139
|
+
\ <trial_interval_length type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
|
140
|
+
\ <unit_amount_in_cents type=\"integer\" depreciated=\"true\">1234</unit_amount_in_cents>\n
|
141
|
+
\ <setup_fee_in_cents type=\"integer\" depreciated=\"true\">0</setup_fee_in_cents>\n
|
142
|
+
\ <currencies type=\"array\">\n <currency>\n <currency_code>USD</currency_code>\n
|
143
|
+
\ <unit_amount_in_cents type=\"integer\">1234</unit_amount_in_cents>\n
|
144
|
+
\ <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n </currency>\n
|
145
|
+
\ <currency>\n <currency_code>GBP</currency_code>\n <unit_amount_in_cents
|
146
|
+
type=\"integer\">1999</unit_amount_in_cents>\n <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n
|
147
|
+
\ </currency>\n <currency>\n <currency_code>EUR</currency_code>\n
|
148
|
+
\ <unit_amount_in_cents type=\"integer\">2999</unit_amount_in_cents>\n
|
149
|
+
\ <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n </currency>\n
|
150
|
+
\ </currencies>\n </plan>\n <plan>\n <plan_code>paid</plan_code>\n <name>Paid
|
151
|
+
Plan</name>\n <description></description>\n <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n
|
152
|
+
\ <plan_interval_length type=\"integer\">1</plan_interval_length>\n <plan_interval_unit>months</plan_interval_unit>\n
|
153
|
+
\ <trial_interval_length type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
|
154
|
+
\ <unit_amount_in_cents type=\"integer\" depreciated=\"true\">1200</unit_amount_in_cents>\n
|
155
|
+
\ <setup_fee_in_cents type=\"integer\" depreciated=\"true\">0</setup_fee_in_cents>\n
|
156
|
+
\ <currencies type=\"array\">\n <currency>\n <currency_code>USD</currency_code>\n
|
157
|
+
\ <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n
|
158
|
+
\ <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n </currency>\n
|
159
|
+
\ <currency>\n <currency_code>GBP</currency_code>\n <unit_amount_in_cents
|
160
|
+
type=\"integer\">1400</unit_amount_in_cents>\n <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n
|
161
|
+
\ </currency>\n <currency>\n <currency_code>EUR</currency_code>\n
|
162
|
+
\ <unit_amount_in_cents type=\"integer\">1300</unit_amount_in_cents>\n
|
163
|
+
\ <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n </currency>\n
|
164
|
+
\ </currencies>\n </plan>\n <plan>\n <plan_code>plan</plan_code>\n <name>Plan</name>\n
|
165
|
+
\ <description></description>\n <created_at type=\"datetime\">2011-08-13T19:01:23Z</created_at>\n
|
166
|
+
\ <plan_interval_length type=\"integer\">12</plan_interval_length>\n <plan_interval_unit>months</plan_interval_unit>\n
|
167
|
+
\ <trial_interval_length type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
|
168
|
+
\ <unit_amount_in_cents type=\"integer\" depreciated=\"true\">4500</unit_amount_in_cents>\n
|
169
|
+
\ <setup_fee_in_cents type=\"integer\" depreciated=\"true\">0</setup_fee_in_cents>\n
|
170
|
+
\ <currencies type=\"array\">\n <currency>\n <currency_code>USD</currency_code>\n
|
171
|
+
\ <unit_amount_in_cents type=\"integer\">4500</unit_amount_in_cents>\n
|
172
|
+
\ <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n </currency>\n
|
173
|
+
\ <currency>\n <currency_code>GBP</currency_code>\n <unit_amount_in_cents
|
174
|
+
type=\"integer\">5000</unit_amount_in_cents>\n <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n
|
175
|
+
\ </currency>\n <currency>\n <currency_code>EUR</currency_code>\n
|
176
|
+
\ <unit_amount_in_cents type=\"integer\">7800</unit_amount_in_cents>\n
|
177
|
+
\ <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n </currency>\n
|
178
|
+
\ </currencies>\n </plan>\n <plan>\n <plan_code>temp</plan_code>\n <name>Temp</name>\n
|
179
|
+
\ <description></description>\n <created_at type=\"datetime\">2011-08-14T02:09:11Z</created_at>\n
|
180
|
+
\ <plan_interval_length type=\"integer\">1</plan_interval_length>\n <plan_interval_unit>months</plan_interval_unit>\n
|
181
|
+
\ <trial_interval_length type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
|
182
|
+
\ <unit_amount_in_cents type=\"integer\" depreciated=\"true\">500</unit_amount_in_cents>\n
|
183
|
+
\ <setup_fee_in_cents type=\"integer\" depreciated=\"true\">0</setup_fee_in_cents>\n
|
184
|
+
\ <currencies type=\"array\">\n <currency>\n <currency_code>USD</currency_code>\n
|
185
|
+
\ <unit_amount_in_cents type=\"integer\">500</unit_amount_in_cents>\n
|
186
|
+
\ <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n </currency>\n
|
187
|
+
\ <currency>\n <currency_code>GBP</currency_code>\n <unit_amount_in_cents
|
188
|
+
type=\"integer\">600</unit_amount_in_cents>\n <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n
|
189
|
+
\ </currency>\n <currency>\n <currency_code>EUR</currency_code>\n
|
190
|
+
\ <unit_amount_in_cents type=\"integer\">700</unit_amount_in_cents>\n
|
191
|
+
\ <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n </currency>\n
|
192
|
+
\ </currencies>\n </plan>\n <plan>\n <plan_code>test</plan_code>\n <name>Test
|
193
|
+
Plan</name>\n <description></description>\n <created_at type=\"datetime\">2011-08-17T23:23:17Z</created_at>\n
|
194
|
+
\ <plan_interval_length type=\"integer\">1</plan_interval_length>\n <plan_interval_unit>months</plan_interval_unit>\n
|
195
|
+
\ <trial_interval_length type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>months</trial_interval_unit>\n
|
196
|
+
\ <unit_amount_in_cents type=\"integer\" depreciated=\"true\">200</unit_amount_in_cents>\n
|
197
|
+
\ <setup_fee_in_cents type=\"integer\" depreciated=\"true\">0</setup_fee_in_cents>\n
|
198
|
+
\ <currencies type=\"array\">\n <currency>\n <currency_code>USD</currency_code>\n
|
199
|
+
\ <unit_amount_in_cents type=\"integer\">200</unit_amount_in_cents>\n
|
200
|
+
\ <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n </currency>\n
|
201
|
+
\ </currencies>\n </plan>\n <plan>\n <plan_code>trial</plan_code>\n <name>Trial</name>\n
|
202
|
+
\ <description></description>\n <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n
|
203
|
+
\ <plan_interval_length type=\"integer\">1</plan_interval_length>\n <plan_interval_unit>months</plan_interval_unit>\n
|
204
|
+
\ <trial_interval_length type=\"integer\">1</trial_interval_length>\n <trial_interval_unit>months</trial_interval_unit>\n
|
205
|
+
\ <unit_amount_in_cents type=\"integer\" depreciated=\"true\">500</unit_amount_in_cents>\n
|
206
|
+
\ <setup_fee_in_cents type=\"integer\" depreciated=\"true\">0</setup_fee_in_cents>\n
|
207
|
+
\ <currencies type=\"array\">\n <currency>\n <currency_code>USD</currency_code>\n
|
208
|
+
\ <unit_amount_in_cents type=\"integer\">500</unit_amount_in_cents>\n
|
209
|
+
\ <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n </currency>\n
|
210
|
+
\ <currency>\n <currency_code>GBP</currency_code>\n <unit_amount_in_cents
|
211
|
+
type=\"integer\">1400</unit_amount_in_cents>\n <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n
|
212
|
+
\ </currency>\n <currency>\n <currency_code>EUR</currency_code>\n
|
213
|
+
\ <unit_amount_in_cents type=\"integer\">300</unit_amount_in_cents>\n
|
214
|
+
\ <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n </currency>\n
|
215
|
+
\ </currencies>\n </plan>\n <plan>\n <plan_code>yearly</plan_code>\n
|
216
|
+
\ <name>Yearly</name>\n <description></description>\n <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n
|
217
|
+
\ <plan_interval_length type=\"integer\">12</plan_interval_length>\n <plan_interval_unit>months</plan_interval_unit>\n
|
218
|
+
\ <trial_interval_length type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
|
219
|
+
\ <unit_amount_in_cents type=\"integer\" depreciated=\"true\">2995</unit_amount_in_cents>\n
|
220
|
+
\ <setup_fee_in_cents type=\"integer\" depreciated=\"true\">0</setup_fee_in_cents>\n
|
221
|
+
\ <currencies type=\"array\">\n <currency>\n <currency_code>USD</currency_code>\n
|
222
|
+
\ <unit_amount_in_cents type=\"integer\">2995</unit_amount_in_cents>\n
|
223
|
+
\ <setup_fee_in_cents type=\"integer\">0</setup_fee_in_cents>\n </currency>\n
|
224
|
+
\ </currencies>\n </plan>\n</plans>\n"
|
225
|
+
http_version: '1.1'
|