Set free SMS limit depending on organisation type

Different parts of government get billed slightly differently, and
there’s differences in how much money we’re allowed to give them.

Think these numbers are right, but should be double checked.
This commit is contained in:
Chris Hill-Scott
2017-10-05 10:46:55 +01:00
parent 9453f301d2
commit c516760056
6 changed files with 40 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ class ServiceAPIClient(NotifyAdminAPIClient):
self,
service_name,
organisation_type,
free_sms_fragment_limit,
message_limit,
restricted,
user_id,
@@ -31,6 +32,7 @@ class ServiceAPIClient(NotifyAdminAPIClient):
data = {
"name": service_name,
"organisation_type": organisation_type,
"free_sms_fragment_limit": free_sms_fragment_limit,
"active": True,
"message_limit": message_limit,
"user_id": user_id,