Created
January 28, 2020 11:45
-
-
Save CesarBalzer/d014901c3e124efad6e2dd032aee7bfb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// EDIT ORDER | |
[28-Jan-2020 01:44:47 UTC] Automattic\WooCommerce\Admin\Overrides\Order Object | |
( | |
[refunded_line_items:protected] => | |
[status_transition:protected] => | |
[data:protected] => Array | |
( | |
[parent_id] => 0 | |
[status] => completed | |
[currency] => BRL | |
[version] => 3.8.1 | |
[prices_include_tax] => | |
[date_created] => WC_DateTime Object | |
( | |
[utc_offset:protected] => 0 | |
[date] => 2020-01-13 23:04:22.000000 | |
[timezone_type] => 3 | |
[timezone] => America/Sao_Paulo | |
) | |
[date_modified] => WC_DateTime Object | |
( | |
[utc_offset:protected] => 0 | |
[date] => 2020-01-27 23:36:44.000000 | |
[timezone_type] => 3 | |
[timezone] => America/Sao_Paulo | |
) | |
[discount_total] => 0 | |
[discount_tax] => 0 | |
[shipping_total] => 0 | |
[shipping_tax] => 0 | |
[cart_tax] => 0 | |
[total] => 119.00 | |
[total_tax] => 0 | |
[customer_id] => 7 | |
[order_key] => wc_order_QHUOcSUY1soAz | |
[billing] => Array | |
( | |
[first_name] => Cesar | |
[last_name] => Balzer | |
[company] => | |
[address_1] => Rua do teste | |
[address_2] => | |
[city] => Ponta Grossa | |
[state] => PR | |
[postcode] => 84050-500 | |
[country] => BR | |
[email] => [email protected] | |
[phone] => (09) 87654-3210 | |
) | |
[shipping] => Array | |
( | |
[first_name] => | |
[last_name] => | |
[company] => | |
[address_1] => | |
[address_2] => | |
[city] => | |
[state] => | |
[postcode] => | |
[country] => | |
) | |
[payment_method] => my_gateway | |
[payment_method_title] => Boleto Bancário | |
[transaction_id] => | |
[customer_ip_address] => ::1 | |
[customer_user_agent] => Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Safari/605.1.15 | |
[created_via] => checkout | |
[customer_note] => | |
[date_completed] => WC_DateTime Object | |
( | |
[utc_offset:protected] => 0 | |
[date] => 2020-01-27 23:04:40.000000 | |
[timezone_type] => 3 | |
[timezone] => America/Sao_Paulo | |
) | |
[date_paid] => WC_DateTime Object | |
( | |
[utc_offset:protected] => 0 | |
[date] => 2020-01-22 22:10:35.000000 | |
[timezone_type] => 3 | |
[timezone] => America/Sao_Paulo | |
) | |
[cart_hash] => 71d3eae0ff13c4a3df5916c177f6ca7e | |
) | |
[items:protected] => Array | |
( | |
) | |
[items_to_delete:protected] => Array | |
( | |
) | |
[cache_group:protected] => orders | |
[data_store_name:protected] => order | |
[object_type:protected] => order | |
[id:protected] => 3525 | |
[changes:protected] => Array | |
( | |
) | |
[object_read:protected] => 1 | |
[extra_data:protected] => Array | |
( | |
) | |
[default_data:protected] => Array | |
( | |
[parent_id] => 0 | |
[status] => | |
[currency] => | |
[version] => | |
[prices_include_tax] => | |
[date_created] => | |
[date_modified] => | |
[discount_total] => 0 | |
[discount_tax] => 0 | |
[shipping_total] => 0 | |
[shipping_tax] => 0 | |
[cart_tax] => 0 | |
[total] => 0 | |
[total_tax] => 0 | |
[customer_id] => 0 | |
[order_key] => | |
[billing] => Array | |
( | |
[first_name] => | |
[last_name] => | |
[company] => | |
[address_1] => | |
[address_2] => | |
[city] => | |
[state] => | |
[postcode] => | |
[country] => | |
[email] => | |
[phone] => | |
) | |
[shipping] => Array | |
( | |
[first_name] => | |
[last_name] => | |
[company] => | |
[address_1] => | |
[address_2] => | |
[city] => | |
[state] => | |
[postcode] => | |
[country] => | |
) | |
[payment_method] => | |
[payment_method_title] => | |
[transaction_id] => | |
[customer_ip_address] => | |
[customer_user_agent] => | |
[created_via] => | |
[customer_note] => | |
[date_completed] => | |
[date_paid] => | |
[cart_hash] => | |
) | |
[data_store:protected] => WC_Data_Store Object | |
( | |
[instance:WC_Data_Store:private] => WC_Order_Data_Store_CPT Object | |
( | |
[internal_meta_keys:protected] => Array | |
( | |
[0] => _parent_id | |
[1] => _status | |
[2] => _currency | |
[3] => _version | |
[4] => _prices_include_tax | |
[5] => _date_created | |
[6] => _date_modified | |
[7] => _discount_total | |
[8] => _discount_tax | |
[9] => _shipping_total | |
[10] => _shipping_tax | |
[11] => _cart_tax | |
[12] => _total | |
[13] => _total_tax | |
[14] => _customer_id | |
[15] => _order_key | |
[16] => _billing | |
[17] => _shipping | |
[18] => _payment_method | |
[19] => _payment_method_title | |
[20] => _transaction_id | |
[21] => _customer_ip_address | |
[22] => _customer_user_agent | |
[23] => _created_via | |
[24] => _customer_note | |
[25] => _date_completed | |
[26] => _date_paid | |
[27] => _cart_hash | |
[28] => _customer_user | |
[29] => _order_key | |
[30] => _order_currency | |
[31] => _billing_first_name | |
[32] => _billing_last_name | |
[33] => _billing_company | |
[34] => _billing_address_1 | |
[35] => _billing_address_2 | |
[36] => _billing_city | |
[37] => _billing_state | |
[38] => _billing_postcode | |
[39] => _billing_country | |
[40] => _billing_email | |
[41] => _billing_phone | |
[42] => _shipping_first_name | |
[43] => _shipping_last_name | |
[44] => _shipping_company | |
[45] => _shipping_address_1 | |
[46] => _shipping_address_2 | |
[47] => _shipping_city | |
[48] => _shipping_state | |
[49] => _shipping_postcode | |
[50] => _shipping_country | |
[51] => _completed_date | |
[52] => _paid_date | |
[53] => _edit_lock | |
[54] => _edit_last | |
[55] => _cart_discount | |
[56] => _cart_discount_tax | |
[57] => _order_shipping | |
[58] => _order_shipping_tax | |
[59] => _order_tax | |
[60] => _order_total | |
[61] => _payment_method | |
[62] => _payment_method_title | |
[63] => _transaction_id | |
[64] => _customer_ip_address | |
[65] => _customer_user_agent | |
[66] => _created_via | |
[67] => _order_version | |
[68] => _prices_include_tax | |
[69] => _date_completed | |
[70] => _date_paid | |
[71] => _payment_tokens | |
[72] => _billing_address_index | |
[73] => _shipping_address_index | |
[74] => _recorded_sales | |
[75] => _recorded_coupon_usage_counts | |
[76] => _download_permissions_granted | |
[77] => _order_stock_reduced | |
) | |
[meta_type:protected] => post | |
[object_id_field_for_meta:protected] => | |
[must_exist_meta_keys:protected] => Array | |
( | |
) | |
) | |
[stores:WC_Data_Store:private] => Array | |
( | |
[coupon] => WC_Coupon_Data_Store_CPT | |
[customer] => WC_Customer_Data_Store | |
[customer-download] => WC_Customer_Download_Data_Store | |
[customer-download-log] => WC_Customer_Download_Log_Data_Store | |
[customer-session] => WC_Customer_Data_Store_Session | |
[order] => WC_Order_Data_Store_CPT | |
[order-refund] => WC_Order_Refund_Data_Store_CPT | |
[order-item] => WC_Order_Item_Data_Store | |
[order-item-coupon] => WC_Order_Item_Coupon_Data_Store | |
[order-item-fee] => WC_Order_Item_Fee_Data_Store | |
[order-item-product] => WC_Order_Item_Product_Data_Store | |
[order-item-shipping] => WC_Order_Item_Shipping_Data_Store | |
[order-item-tax] => WC_Order_Item_Tax_Data_Store | |
[payment-token] => WC_Payment_Token_Data_Store | |
[product] => WC_Product_Data_Store_CPT | |
[product-grouped] => WC_Product_Grouped_Data_Store_CPT | |
[product-variable] => WC_Product_Variable_Data_Store_CPT | |
[product-variation] => WC_Product_Variation_Data_Store_CPT | |
[shipping-zone] => WC_Shipping_Zone_Data_Store | |
[webhook] => WC_Webhook_Data_Store | |
[report-revenue-stats] => Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\DataStore | |
[report-orders] => Automattic\WooCommerce\Admin\API\Reports\Orders\DataStore | |
[report-orders-stats] => Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\DataStore | |
[report-products] => Automattic\WooCommerce\Admin\API\Reports\Products\DataStore | |
[report-variations] => Automattic\WooCommerce\Admin\API\Reports\Variations\DataStore | |
[report-products-stats] => Automattic\WooCommerce\Admin\API\Reports\Products\Stats\DataStore | |
[report-categories] => Automattic\WooCommerce\Admin\API\Reports\Categories\DataStore | |
[report-taxes] => Automattic\WooCommerce\Admin\API\Reports\Taxes\DataStore | |
[report-taxes-stats] => Automattic\WooCommerce\Admin\API\Reports\Taxes\Stats\DataStore | |
[report-coupons] => Automattic\WooCommerce\Admin\API\Reports\Coupons\DataStore | |
[report-coupons-stats] => Automattic\WooCommerce\Admin\API\Reports\Coupons\Stats\DataStore | |
[report-downloads] => Automattic\WooCommerce\Admin\API\Reports\Downloads\DataStore | |
[report-downloads-stats] => Automattic\WooCommerce\Admin\API\Reports\Downloads\Stats\DataStore | |
[admin-note] => Automattic\WooCommerce\Admin\Notes\DataStore | |
[report-customers] => Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore | |
[report-customers-stats] => Automattic\WooCommerce\Admin\API\Reports\Customers\Stats\DataStore | |
[report-stock-stats] => Automattic\WooCommerce\Admin\API\Reports\Stock\Stats\DataStore | |
) | |
[current_class_name:WC_Data_Store:private] => WC_Order_Data_Store_CPT | |
[object_type:WC_Data_Store:private] => order | |
) | |
) | |
----------------------------------------------------------------------------- | |
// NEW ORDER | |
[28-Jan-2020 01:46:50 UTC] Automattic\WooCommerce\Admin\Overrides\Order Object | |
( | |
[refunded_line_items:protected] => | |
[status_transition:protected] => | |
[data:protected] => Array | |
( | |
[parent_id] => 0 | |
[status] => auto-draft | |
[currency] => BRL | |
[version] => | |
[prices_include_tax] => | |
[date_created] => | |
[date_modified] => | |
[discount_total] => | |
[discount_tax] => | |
[shipping_total] => | |
[shipping_tax] => | |
[cart_tax] => | |
[total] => 0.00 | |
[total_tax] => 0 | |
[customer_id] => 0 | |
[order_key] => | |
[billing] => Array | |
( | |
[first_name] => | |
[last_name] => | |
[company] => | |
[address_1] => | |
[address_2] => | |
[city] => | |
[state] => | |
[postcode] => | |
[country] => | |
[email] => | |
[phone] => | |
) | |
[shipping] => Array | |
( | |
[first_name] => | |
[last_name] => | |
[company] => | |
[address_1] => | |
[address_2] => | |
[city] => | |
[state] => | |
[postcode] => | |
[country] => | |
) | |
[payment_method] => | |
[payment_method_title] => | |
[transaction_id] => | |
[customer_ip_address] => | |
[customer_user_agent] => | |
[created_via] => | |
[customer_note] => | |
[date_completed] => | |
[date_paid] => | |
[cart_hash] => | |
) | |
[items:protected] => Array | |
( | |
) | |
[items_to_delete:protected] => Array | |
( | |
) | |
[cache_group:protected] => orders | |
[data_store_name:protected] => order | |
[object_type:protected] => order | |
[id:protected] => 3640 | |
[changes:protected] => Array | |
( | |
) | |
[object_read:protected] => 1 | |
[extra_data:protected] => Array | |
( | |
) | |
[default_data:protected] => Array | |
( | |
[parent_id] => 0 | |
[status] => | |
[currency] => | |
[version] => | |
[prices_include_tax] => | |
[date_created] => | |
[date_modified] => | |
[discount_total] => 0 | |
[discount_tax] => 0 | |
[shipping_total] => 0 | |
[shipping_tax] => 0 | |
[cart_tax] => 0 | |
[total] => 0 | |
[total_tax] => 0 | |
[customer_id] => 0 | |
[order_key] => | |
[billing] => Array | |
( | |
[first_name] => | |
[last_name] => | |
[company] => | |
[address_1] => | |
[address_2] => | |
[city] => | |
[state] => | |
[postcode] => | |
[country] => | |
[email] => | |
[phone] => | |
) | |
[shipping] => Array | |
( | |
[first_name] => | |
[last_name] => | |
[company] => | |
[address_1] => | |
[address_2] => | |
[city] => | |
[state] => | |
[postcode] => | |
[country] => | |
) | |
[payment_method] => | |
[payment_method_title] => | |
[transaction_id] => | |
[customer_ip_address] => | |
[customer_user_agent] => | |
[created_via] => | |
[customer_note] => | |
[date_completed] => | |
[date_paid] => | |
[cart_hash] => | |
) | |
[data_store:protected] => WC_Data_Store Object | |
( | |
[instance:WC_Data_Store:private] => WC_Order_Data_Store_CPT Object | |
( | |
[internal_meta_keys:protected] => Array | |
( | |
[0] => _parent_id | |
[1] => _status | |
[2] => _currency | |
[3] => _version | |
[4] => _prices_include_tax | |
[5] => _date_created | |
[6] => _date_modified | |
[7] => _discount_total | |
[8] => _discount_tax | |
[9] => _shipping_total | |
[10] => _shipping_tax | |
[11] => _cart_tax | |
[12] => _total | |
[13] => _total_tax | |
[14] => _customer_id | |
[15] => _order_key | |
[16] => _billing | |
[17] => _shipping | |
[18] => _payment_method | |
[19] => _payment_method_title | |
[20] => _transaction_id | |
[21] => _customer_ip_address | |
[22] => _customer_user_agent | |
[23] => _created_via | |
[24] => _customer_note | |
[25] => _date_completed | |
[26] => _date_paid | |
[27] => _cart_hash | |
[28] => _customer_user | |
[29] => _order_key | |
[30] => _order_currency | |
[31] => _billing_first_name | |
[32] => _billing_last_name | |
[33] => _billing_company | |
[34] => _billing_address_1 | |
[35] => _billing_address_2 | |
[36] => _billing_city | |
[37] => _billing_state | |
[38] => _billing_postcode | |
[39] => _billing_country | |
[40] => _billing_email | |
[41] => _billing_phone | |
[42] => _shipping_first_name | |
[43] => _shipping_last_name | |
[44] => _shipping_company | |
[45] => _shipping_address_1 | |
[46] => _shipping_address_2 | |
[47] => _shipping_city | |
[48] => _shipping_state | |
[49] => _shipping_postcode | |
[50] => _shipping_country | |
[51] => _completed_date | |
[52] => _paid_date | |
[53] => _edit_lock | |
[54] => _edit_last | |
[55] => _cart_discount | |
[56] => _cart_discount_tax | |
[57] => _order_shipping | |
[58] => _order_shipping_tax | |
[59] => _order_tax | |
[60] => _order_total | |
[61] => _payment_method | |
[62] => _payment_method_title | |
[63] => _transaction_id | |
[64] => _customer_ip_address | |
[65] => _customer_user_agent | |
[66] => _created_via | |
[67] => _order_version | |
[68] => _prices_include_tax | |
[69] => _date_completed | |
[70] => _date_paid | |
[71] => _payment_tokens | |
[72] => _billing_address_index | |
[73] => _shipping_address_index | |
[74] => _recorded_sales | |
[75] => _recorded_coupon_usage_counts | |
[76] => _download_permissions_granted | |
[77] => _order_stock_reduced | |
) | |
[meta_type:protected] => post | |
[object_id_field_for_meta:protected] => | |
[must_exist_meta_keys:protected] => Array | |
( | |
) | |
) | |
[stores:WC_Data_Store:private] => Array | |
( | |
[coupon] => WC_Coupon_Data_Store_CPT | |
[customer] => WC_Customer_Data_Store | |
[customer-download] => WC_Customer_Download_Data_Store | |
[customer-download-log] => WC_Customer_Download_Log_Data_Store | |
[customer-session] => WC_Customer_Data_Store_Session | |
[order] => WC_Order_Data_Store_CPT | |
[order-refund] => WC_Order_Refund_Data_Store_CPT | |
[order-item] => WC_Order_Item_Data_Store | |
[order-item-coupon] => WC_Order_Item_Coupon_Data_Store | |
[order-item-fee] => WC_Order_Item_Fee_Data_Store | |
[order-item-product] => WC_Order_Item_Product_Data_Store | |
[order-item-shipping] => WC_Order_Item_Shipping_Data_Store | |
[order-item-tax] => WC_Order_Item_Tax_Data_Store | |
[payment-token] => WC_Payment_Token_Data_Store | |
[product] => WC_Product_Data_Store_CPT | |
[product-grouped] => WC_Product_Grouped_Data_Store_CPT | |
[product-variable] => WC_Product_Variable_Data_Store_CPT | |
[product-variation] => WC_Product_Variation_Data_Store_CPT | |
[shipping-zone] => WC_Shipping_Zone_Data_Store | |
[webhook] => WC_Webhook_Data_Store | |
[report-revenue-stats] => Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\DataStore | |
[report-orders] => Automattic\WooCommerce\Admin\API\Reports\Orders\DataStore | |
[report-orders-stats] => Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\DataStore | |
[report-products] => Automattic\WooCommerce\Admin\API\Reports\Products\DataStore | |
[report-variations] => Automattic\WooCommerce\Admin\API\Reports\Variations\DataStore | |
[report-products-stats] => Automattic\WooCommerce\Admin\API\Reports\Products\Stats\DataStore | |
[report-categories] => Automattic\WooCommerce\Admin\API\Reports\Categories\DataStore | |
[report-taxes] => Automattic\WooCommerce\Admin\API\Reports\Taxes\DataStore | |
[report-taxes-stats] => Automattic\WooCommerce\Admin\API\Reports\Taxes\Stats\DataStore | |
[report-coupons] => Automattic\WooCommerce\Admin\API\Reports\Coupons\DataStore | |
[report-coupons-stats] => Automattic\WooCommerce\Admin\API\Reports\Coupons\Stats\DataStore | |
[report-downloads] => Automattic\WooCommerce\Admin\API\Reports\Downloads\DataStore | |
[report-downloads-stats] => Automattic\WooCommerce\Admin\API\Reports\Downloads\Stats\DataStore | |
[admin-note] => Automattic\WooCommerce\Admin\Notes\DataStore | |
[report-customers] => Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore | |
[report-customers-stats] => Automattic\WooCommerce\Admin\API\Reports\Customers\Stats\DataStore | |
[report-stock-stats] => Automattic\WooCommerce\Admin\API\Reports\Stock\Stats\DataStore | |
) | |
[current_class_name:WC_Data_Store:private] => WC_Order_Data_Store_CPT | |
[object_type:WC_Data_Store:private] => order | |
) | |
[meta_data:protected] => Array | |
( | |
) | |
) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment