Skip to content

Commit 0de0e42

Browse files
author
FRESHVIEW\jianjun.chen
committed
Remove redundant d&s markup option
1 parent 8dfed92 commit 0de0e42

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

HISTORY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# createsend-python history
22

3+
## v9.1.4 - 13 Jun, 2025
4+
* Removed now redundant parameter ```markup_on_design_spam_test``` from method client.set_payg_billing
5+
36
## v9.1.3 - 4 Feb, 2025
47
* Updated cacert.pem. From [#92](https://github.com/campaignmonitor/createsend-python/pull/92)
58
* Updates various URLs to use HTTPS

lib/createsend/client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,15 @@ def set_basics(self, company, timezone, country):
108108
response = self._put(self.uri_for('setbasics'), json.dumps(body))
109109

110110
def set_payg_billing(self, currency, can_purchase_credits, client_pays, markup_percentage,
111-
markup_on_delivery=0, markup_per_recipient=0, markup_on_design_spam_test=0):
111+
markup_on_delivery=0, markup_per_recipient=0):
112112
"""Sets the PAYG billing settings for this client."""
113113
body = {
114114
"Currency": currency,
115115
"CanPurchaseCredits": can_purchase_credits,
116116
"ClientPays": client_pays,
117117
"MarkupPercentage": markup_percentage,
118118
"MarkupOnDelivery": markup_on_delivery,
119-
"MarkupPerRecipient": markup_per_recipient,
120-
"MarkupOnDesignSpamTest": markup_on_design_spam_test}
119+
"MarkupPerRecipient": markup_per_recipient}
121120
response = self._put(self.uri_for('setpaygbilling'), json.dumps(body))
122121

123122
def set_monthly_billing(self, currency, client_pays, markup_percentage, monthly_scheme=None):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="createsend",
5-
version='9.1.3',
5+
version='9.1.4',
66
description="A library which implements the complete functionality of the Campaign Monitor API.",
77
author='Campaign Monitor',
88
author_email='support@campaignmonitor.com',

test/fixtures/client_details.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"BillingDetails": {
1616
"CanPurchaseCredits": true,
1717
"Credits": 500,
18-
"MarkupOnDesignSpamTest": 0.0,
1918
"ClientPays": true,
2019
"BaseRatePerRecipient": 1.0,
2120
"MarkupPerRecipient": 0.0,

0 commit comments

Comments
 (0)