You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: recurly/resources.py
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,8 @@ class Address(Resource):
57
57
Country, 2-letter ISO 3166-1 alpha-2 code.
58
58
first_name : str
59
59
First name
60
+
geo_code : str
61
+
Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
60
62
last_name : str
61
63
Last name
62
64
phone : str
@@ -75,6 +77,7 @@ class Address(Resource):
75
77
"city": str,
76
78
"country": str,
77
79
"first_name": str,
80
+
"geo_code": str,
78
81
"last_name": str,
79
82
"phone": str,
80
83
"postal_code": str,
@@ -147,6 +150,8 @@ class Account(Resource):
147
150
Unique ID to identify a dunning campaign. Used to specify if a non-default dunning campaign should be assigned to this account. For sites without multiple dunning campaigns enabled, the default dunning campaign will always be used.
148
151
email : str
149
152
The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.
153
+
entity_use_code : str
154
+
The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
150
155
exemption_certificate : str
151
156
The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
152
157
first_name : str
@@ -200,6 +205,7 @@ class Account(Resource):
200
205
"deleted_at": datetime,
201
206
"dunning_campaign_id": str,
202
207
"email": str,
208
+
"entity_use_code": str,
203
209
"exemption_certificate": str,
204
210
"first_name": str,
205
211
"has_active_subscription": bool,
@@ -238,6 +244,8 @@ class ShippingAddress(Resource):
238
244
Created at
239
245
email : str
240
246
first_name : str
247
+
geo_code : str
248
+
Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
241
249
id : str
242
250
Shipping Address ID
243
251
last_name : str
@@ -264,6 +272,7 @@ class ShippingAddress(Resource):
264
272
"created_at": datetime,
265
273
"email": str,
266
274
"first_name": str,
275
+
"geo_code": str,
267
276
"id": str,
268
277
"last_name": str,
269
278
"nickname": str,
@@ -335,6 +344,8 @@ class PaymentMethod(Resource):
335
344
The bank account type. Only present for ACH payment methods.
336
345
billing_agreement_id : str
337
346
Billing Agreement identifier. Only present for Amazon or Paypal payment methods.
347
+
card_network_preference : str
348
+
Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
338
349
card_type : str
339
350
Visa, MasterCard, American Express, Discover, JCB, etc.
340
351
cc_bin_country : str
@@ -367,6 +378,7 @@ class PaymentMethod(Resource):
367
378
schema= {
368
379
"account_type": str,
369
380
"billing_agreement_id": str,
381
+
"card_network_preference": str,
370
382
"card_type": str,
371
383
"cc_bin_country": str,
372
384
"exp_month": int,
@@ -389,7 +401,7 @@ class GatewayAttributes(Resource):
389
401
Attributes
390
402
----------
391
403
account_reference : str
392
-
Used by Adyen gateways. The Shopper Reference value used when the external token was created.
404
+
Used by Adyen and Braintree gateways. For Adyen the Shopper Reference value used when the external token was created. For Braintree the PayPal PayerID is populated in the response.
393
405
"""
394
406
395
407
schema= {
@@ -1238,6 +1250,8 @@ class InvoiceAddress(Resource):
1238
1250
Country, 2-letter ISO 3166-1 alpha-2 code.
1239
1251
first_name : str
1240
1252
First name
1253
+
geo_code : str
1254
+
Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
1241
1255
last_name : str
1242
1256
Last name
1243
1257
name_on_account : str
@@ -1259,6 +1273,7 @@ class InvoiceAddress(Resource):
1259
1273
"company": str,
1260
1274
"country": str,
1261
1275
"first_name": str,
1276
+
"geo_code": str,
1262
1277
"last_name": str,
1263
1278
"name_on_account": str,
1264
1279
"phone": str,
@@ -2031,17 +2046,23 @@ class SubscriptionRampIntervalResponse(Resource):
2031
2046
"""
2032
2047
Attributes
2033
2048
----------
2049
+
ending_on : datetime
2050
+
Date the ramp interval ends
2034
2051
remaining_billing_cycles : int
2035
2052
Represents how many billing cycles are left in a ramp interval.
2036
2053
starting_billing_cycle : int
2037
2054
Represents the billing cycle where a ramp interval starts.
0 commit comments