34 public function testInvoke()
37 $order = $this->objectManager->create(\
Magento\Sales\Model\Order::class)->loadByIncrementId(
'100000001');
46 'operation' => self::SERVICE_READ_NAME .
'save',
51 'order_id' =>
$order->getId(),
52 'base_currency_code' =>
null,
53 'base_discount_amount' =>
null,
54 'base_grand_total' =>
null,
55 'base_discount_tax_compensation_amount' =>
null,
56 'base_shipping_amount' =>
null,
57 'base_shipping_discount_tax_compensation_amnt' =>
null,
58 'base_shipping_incl_tax' =>
null,
59 'base_shipping_tax_amount' =>
null,
60 'base_subtotal' =>
null,
61 'base_subtotal_incl_tax' =>
null,
62 'base_tax_amount' =>
null,
63 'base_total_refunded' =>
null,
64 'base_to_global_rate' =>
null,
65 'base_to_order_rate' =>
null,
66 'billing_address_id' =>
null,
67 'can_void_flag' =>
null,
69 'discount_amount' =>
null,
70 'discount_description' =>
null,
73 'global_currency_code' =>
null,
74 'grand_total' =>
null,
75 'discount_tax_compensation_amount' =>
null,
76 'increment_id' =>
null,
77 'is_used_for_refund' =>
null,
78 'order_currency_code' =>
null,
79 'shipping_address_id' =>
null,
80 'shipping_amount' =>
null,
81 'shipping_discount_tax_compensation_amount' =>
null,
82 'shipping_incl_tax' =>
null,
83 'shipping_tax_amount' =>
null,
85 'store_currency_code' =>
null,
87 'store_to_base_rate' =>
null,
88 'store_to_order_rate' =>
null,
90 'subtotal_incl_tax' =>
null,
93 'transaction_id' =>
null,
99 'additionalData' =>
null,
101 'baseDiscountAmount' =>
null,
102 'baseDiscountTaxCompensationAmount' =>
null,
104 'basePriceInclTax' =>
null,
105 'baseRowTotal' =>
null,
106 'baseRowTotalInclTax' =>
null,
107 'baseTaxAmount' =>
null,
108 'description' =>
null,
109 'discountAmount' =>
null,
110 'discountTaxCompensationAmount' =>
null,
115 'priceInclTax' =>
null,
118 'rowTotalInclTax' =>
null,
119 'sku' =>
'sku' . uniqid(),
125 $this->assertNotEmpty(
$result);
_webApiCall( $serviceInfo, $arguments=[], $webApiAdapterCode=null, $storeCode=null, $integration=null)
static getObjectManager()