Commits

Anonymous committed c74c3db

Apply __plugins in TransactionLookup

Comments (0)

Files changed (1)

 		'Subjects': ((), (), (), ()),
 		'TopSellers': ((), (), ('TopSellers',), ('TopSeller',)),
 		'Tracks': ((), (), (), ()),
-		'TransactionDetails': ((), (), (), ()),
+		'TransactionDetails': ((), (), ('Transactions', 'TransactionItems', 'Shipments'),
+			('Transaction', 'TransactionItem', 'Shipment')),
 		'VariationMinimum': ((), (), (), ()),
 		'Variations': ((), (), (), ()),
 		'VariationImages': ((), (), (), ()),
 # Transaction
 def TransactionLookup(TransactionId, ResponseGroup=None, AWSAccessKeyId=None):
 	'''TransactionLookup in AWS'''
-
-	argv = vars()
-	plugins = {
-		'isBypassed': ('Request',), 
-		'isPivoted': (), 
-		'isCollective': ('Transactions', 'TransactionItems', 'Shipments'),
-		'isCollected': ('Transaction', 'TransactionItem', 'Shipment')
-	}		
-	return rawIterator(XMLTransactionLookup, argv, 'Transactions', plugins)
+	return rawIterator(XMLTransactionLookup, vars(), 'Transactions', __plugins['TransactionLookup'])
 	
 
 def XMLTransactionLookup(TransactionId, ResponseGroup=None, AWSAccessKeyId=None):