@@ -277,8 +277,7 @@ def pending(self, entity_id, **kwargs) -> 'Account':
277277class ServiceSubscriptions (DefaultClient ):
278278
279279 def __init__ (self , * args , entity_name = 'service_subscription' ,
280- entity_collection = 'service_subscriptions' ,
281- per_page = None , ** kwargs ):
280+ entity_collection = 'service_subscriptions' , ** kwargs ):
282281 super ().__init__ (* args , entity_name = entity_name ,
283282 entity_collection = entity_collection , ** kwargs )
284283
@@ -293,7 +292,7 @@ def approve(self, entity_id: int, **kwargs):
293292 return instance
294293
295294 def change_plan (self , entity_id : int , plan_id : int , ** kwargs ):
296- params = dict ( plan_id = plan_id )
295+ params = { " plan_id" : plan_id }
297296 url = self .url + f"/{ entity_id } /change_plan.json"
298297 response = self .rest .put (url = url , json = params , ** kwargs )
299298 instance = utils .extract_response (response = response )
@@ -303,7 +302,7 @@ def change_plan(self, entity_id: int, plan_id: int, **kwargs):
303302class ServicePlans (DefaultClient ):
304303
305304 def __init__ (self , * args , entity_name = 'service_plan' ,
306- entity_collection = 'service_plans' , per_page = None , ** kwargs ):
305+ entity_collection = 'service_plans' , ** kwargs ):
307306 super ().__init__ (* args , entity_name = entity_name ,
308307 entity_collection = entity_collection , ** kwargs )
309308
@@ -1188,10 +1187,10 @@ class ServiceSubscription(DefaultResource):
11881187 def __init__ (self , ** kwargs ):
11891188 super ().__init__ (** kwargs )
11901189
1191- def approve (self , entity_id : int , ** kwargs ):
1190+ def approve (self , ** kwargs ):
11921191 return self .client .approve (entity_id = self .entity_id , ** kwargs )
11931192
1194- def change_plan (self , entity_id : int , ** kwargs ):
1193+ def change_plan (self , ** kwargs ):
11951194 return self .client .change_plan (entity_id = self .entity_id , ** kwargs )
11961195
11971196
0 commit comments