Skip to content

Commit 805867b

Browse files
author
FRESHVIEW\jianjun.chen
committed
COM-677: Remove redundant d&s markup option
1 parent 8dfed92 commit 805867b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

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):

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)