@@ -14,19 +14,18 @@ class AuthorizationRequest(object):
1414 def __init__ (self , client , prefill = None ):
1515 self ._client = client
1616
17- self ._id = ""
17+ self ._id = None
1818 self ._project = None
1919 self ._customer = None
2020 self ._token = None
21- self ._url = ""
22- self ._authorized = False
23- self ._name = ""
24- self ._currency = ""
25- self ._returnUrl = ""
26- self ._cancelUrl = ""
27- self ._custom = ""
28- self ._sandbox = False
29- self ._createdAt = ""
21+ self ._url = None
22+ self ._authorized = None
23+ self ._name = None
24+ self ._currency = None
25+ self ._returnUrl = None
26+ self ._cancelUrl = None
27+ self ._sandbox = None
28+ self ._createdAt = None
3029 if prefill != None :
3130 self .fillWithData (prefill )
3231
@@ -176,19 +175,6 @@ def cancelUrl(self, val):
176175 self ._cancelUrl = val
177176 return self
178177
179- @property
180- def custom (self ):
181- """Get custom"""
182- return self ._custom
183-
184- @custom .setter
185- def custom (self , val ):
186- """Set custom
187- Keyword argument:
188- val -- New custom value"""
189- self ._custom = val
190- return self
191-
192178 @property
193179 def sandbox (self ):
194180 """Get sandbox"""
@@ -240,8 +226,6 @@ def fillWithData(self, data):
240226 self .returnUrl = data ["return_url" ]
241227 if "cancel_url" in data .keys ():
242228 self .cancelUrl = data ["cancel_url" ]
243- if "custom" in data .keys ():
244- self .custom = data ["custom" ]
245229 if "sandbox" in data .keys ():
246230 self .sandbox = data ["sandbox" ]
247231 if "created_at" in data .keys ():
@@ -283,7 +267,6 @@ def create(self, customerId, options = None):
283267 'currency' : self .currency ,
284268 'return_url' : self .returnUrl ,
285269 'cancel_url' : self .cancelUrl ,
286- 'custom' : self .custom ,
287270 'customer_id' : customerId
288271 }
289272
0 commit comments