Great question — answering as the UphillTech team:
WOOCOMMERCE ORDERS IN VERSION 3.0+ Since WooCommerce mega major Update 3.0+ things have changed quite a lot: For WC_Order Object, properties can't be accessed directly anymore as before and will throw some errors. New WC_Order and WC_Abstract_Order getter and setter methods are now required on the WC_Order object instance. Also, there are some New classes for Order items: WC_Order_Item class , WC_Order_Item_Product class , WC_Order_Item_Tax class , WC_Order_Item_Shipping class , WC_Order_Item_Coupon class , WC_Order_Item_Fee class . Additionally, WC_Data Abstract class allow to access Order and order items data using get_data() , get_meta_data() and get_meta() methods. Related: • How can I...
Full answer by LoicTheAztec: https://stackoverflow.stackexchange.com/a/44708344 (CC BY-SA 4.0).
Need it done for your business? UphillTech.