diff --git a/lib/createsend/client.py b/lib/createsend/client.py index 300d39a..6bd5079 100644 --- a/lib/createsend/client.py +++ b/lib/createsend/client.py @@ -108,7 +108,7 @@ def set_basics(self, company, timezone, country): response = self._put(self.uri_for('setbasics'), json.dumps(body)) def set_payg_billing(self, currency, can_purchase_credits, client_pays, markup_percentage, - markup_on_delivery=0, markup_per_recipient=0, markup_on_design_spam_test=0): + markup_on_delivery=0, markup_per_recipient=0): """Sets the PAYG billing settings for this client.""" body = { "Currency": currency, @@ -116,8 +116,7 @@ def set_payg_billing(self, currency, can_purchase_credits, client_pays, markup_p "ClientPays": client_pays, "MarkupPercentage": markup_percentage, "MarkupOnDelivery": markup_on_delivery, - "MarkupPerRecipient": markup_per_recipient, - "MarkupOnDesignSpamTest": markup_on_design_spam_test} + "MarkupPerRecipient": markup_per_recipient} response = self._put(self.uri_for('setpaygbilling'), json.dumps(body)) def set_monthly_billing(self, currency, client_pays, markup_percentage, monthly_scheme=None): diff --git a/test/fixtures/client_details.json b/test/fixtures/client_details.json index ff057dd..8816116 100644 --- a/test/fixtures/client_details.json +++ b/test/fixtures/client_details.json @@ -15,7 +15,6 @@ "BillingDetails": { "CanPurchaseCredits": true, "Credits": 500, - "MarkupOnDesignSpamTest": 0.0, "ClientPays": true, "BaseRatePerRecipient": 1.0, "MarkupPerRecipient": 0.0,