Class: Amazon::AWS::TransactionLookup
- Defined in:
- lib/amazon/aws.rb
Overview
Search for information on previously completed purchases.
Constant Summary
Constants inherited from Operation
Instance Attribute Summary
Attributes inherited from Operation
#kind, #params, #response_group
Instance Method Summary collapse
-
#initialize(transaction_id) ⇒ TransactionLookup
constructor
Return information on an already completed purchase.
Methods inherited from Operation
Constructor Details
#initialize(transaction_id) ⇒ TransactionLookup
Return information on an already completed purchase. transaction_id is actually the order number that is created when you place an order on Amazon.
Example:
tl = TransactionLookup.new( '103-5663398-5028241' )
In the above example, we retrieve the details of order number 103-5663398-5028241.
1266 1267 1268 |
# File 'lib/amazon/aws.rb', line 1266 def initialize(transaction_id) super( { 'TransactionId' => transaction_id } ) end |