peddler 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mws/off_amazon_payments.rb +10 -8
- data/lib/peddler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca8e9fe6a47e5cccc306a70f677258da4961d26d
|
4
|
+
data.tar.gz: 957610329feaeac29520948412e8f35b5c12bbf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2578b06b9c122f2fee63a93ee402d80d1510cb562a0a990a01aafa9057f033782a1236d480db87522bde2c04445ecb21e03ebf34cec8279856cc8b7ead6c3c8
|
7
|
+
data.tar.gz: bc035f67004a839dc72cb57cdc830696cf10a2e91d3c416f05864460429cbe3de05464e394e591d45b9781406b9d9a25dc3e410d077cf339979ceb6fc86ed90e
|
@@ -15,16 +15,18 @@ module MWS
|
|
15
15
|
#
|
16
16
|
# @see http://docs.developer.amazonservices.com/en_US/off_amazon_payments/OffAmazonPayments_SetOrderReferenceDetails.html
|
17
17
|
# @param amazon_order_reference_id [String]
|
18
|
-
# @param
|
19
|
-
# @
|
20
|
-
# @option
|
21
|
-
# @option
|
22
|
-
# @option
|
18
|
+
# @param order_total [Struct, Hash]
|
19
|
+
# @param opts [Hash]
|
20
|
+
# @option opts [String] :platform_id
|
21
|
+
# @option opts [String] :seller_note
|
22
|
+
# @option opts [Struct, Hash] :seller_order_attributes
|
23
23
|
# @return [Peddler::XMLParser]
|
24
|
-
def set_order_reference_details(amazon_order_reference_id,
|
24
|
+
def set_order_reference_details(amazon_order_reference_id, order_total, opts = {})
|
25
25
|
operation('SetOrderReferenceDetails')
|
26
|
-
.add(
|
27
|
-
|
26
|
+
.add(
|
27
|
+
'AmazonOrderReferenceId' => amazon_order_reference_id,
|
28
|
+
'OrderReferenceAttributes' => opts.merge('OrderTotal' => order_total)
|
29
|
+
)
|
28
30
|
|
29
31
|
run
|
30
32
|
end
|
data/lib/peddler/version.rb
CHANGED