From 805867b15e992cd8de83acec4c204f2a8886fa8a Mon Sep 17 00:00:00 2001 From: "FRESHVIEW\\jianjun.chen" Date: Mon, 16 Jun 2025 10:26:55 +1000 Subject: [PATCH] COM-677: Remove redundant d&s markup option --- lib/createsend/client.py | 5 ++--- test/fixtures/client_details.json | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) 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,