summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Koumjian <akoumjian@gmail.com>2012-03-21 16:40:50 -0700
committerAlec Koumjian <akoumjian@gmail.com>2012-03-21 16:40:50 -0700
commit956bdeed2681d285f7e4840964adcc97f2335f80 (patch)
treecae586a4e55b2b7522cabd74e0b55d0658b37e48
parent5084939fbfb27faa0c0807a8c2be94984d82412c (diff)
downloadboto-956bdeed2681d285f7e4840964adcc97f2335f80.tar.gz
Added marketplace fee parameters.
-rw-r--r--boto/fps/connection.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/boto/fps/connection.py b/boto/fps/connection.py
index 1bb95dfd..27eef8f9 100644
--- a/boto/fps/connection.py
+++ b/boto/fps/connection.py
@@ -218,6 +218,7 @@ class FPSConnection(AWSQueryConnection):
def pay(self, transactionAmount, senderTokenId,
recipientTokenId=None,
chargeFeeTo="Recipient",
+ marketplaceFixedFee=None, marketplaceVariableFee=None,
callerReference=None, senderReference=None, recipientReference=None,
senderDescription=None, recipientDescription=None,
callerDescription=None, metadata=None,
@@ -238,6 +239,10 @@ class FPSConnection(AWSQueryConnection):
recipientTokenId if recipientTokenId is not None
else boto.config.get("FPS", "recipient_token")
)
+ if(marketplaceFixedFee != None):
+ params['MarketplaceFixedFee'] = marketplaceFixedFee
+ if(marketplaceVariableFee != None):
+ params['MarketplaceVariableFee'] = marketplaceVariableFee
if(transactionDate != None):
params['TransactionDate'] = transactionDate
if(senderReference != None):