@@ -74,7 +74,7 @@ public function setDisplayableOrderId($s){
74
74
}
75
75
76
76
/**
77
- * Sets the shipping action that the shipment should use. (Optional)
77
+ * Sets the fulfillment action that the shipment should use. (Optional)
78
78
*
79
79
* This method indicates whether the order should ship now or be put on hold.
80
80
* If this option is not sent, Amazon will assume that the order will ship now.
@@ -83,9 +83,9 @@ public function setDisplayableOrderId($s){
83
83
*/
84
84
public function setFulfillmentAction ($ s ){
85
85
if ($ s === 'Ship ' || $ s === 'Hold ' ){
86
- $ this ->options ['ShippingSpeedCategory ' ] = $ s ;
86
+ $ this ->options ['FulfillmentAction ' ] = $ s ;
87
87
} else {
88
- $ this ->log ("Tried to set shipping action to invalid value " , 'Warning ' );
88
+ $ this ->log ("Tried to set fulfillment action to invalid value " , 'Warning ' );
89
89
return false ;
90
90
}
91
91
}
@@ -402,6 +402,8 @@ public function resetDeliveryWindow(){
402
402
* <li><b>CurrencyCode</b> - ISO 4217 currency code</li>
403
403
* <li><b>Value</b> - number</li>
404
404
* </ul>
405
+ * <li><b>PerUnitPrice</b> (optional array) - same structure as PerUnitDeclaredValue</li>
406
+ * <li><b>PerUnitTax</b> (optional array) - same structure as PerUnitDeclaredValue</li>
405
407
* </ul>
406
408
* @param array $a <p>See above.</p>
407
409
* @return boolean <b>FALSE</b> if improper input
@@ -585,18 +587,18 @@ public function updateOrder(){
585
587
}
586
588
587
589
/**
588
- * Sets up options for using <i>CreateFulfillmentOrder </i>.
590
+ * Sets up options for using <i>createOrder </i>.
589
591
*
590
- * This changes key options for using <i>CreateFulfillmentOrder </i>.
592
+ * This changes key options for using <i>createOrder </i>.
591
593
*/
592
594
protected function prepareCreate () {
593
595
$ this ->options ['Action ' ] = 'CreateFulfillmentOrder ' ;
594
596
}
595
597
596
598
/**
597
- * Sets up options for using <i>UpdateFulfillmentOrder </i>.
599
+ * Sets up options for using <i>updateOrder </i>.
598
600
*
599
- * This changes key options for using <i>UpdateFulfillmentOrder </i>. Please note: because the
601
+ * This changes key options for using <i>updateOrder </i>. Please note: because the
600
602
* operation for updating the order does not use all of the parameters, some of the
601
603
* parameters will be removed. The following parameters are removed:
602
604
* COD settings and delivery window.
0 commit comments