<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-05-27 11:05:39
 namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; class OrderResource extends JsonResource { public function toArray($request) { return ["\151\x64" => $this->id, "\x63\157\x64\x65" => $this->code, "\164\x79\160\145" => $this->type, "\164\x6f\x74\141\154\137\x70\162\151\x63\145" => $this->total_price, "\144\x69\x73\143\x6f\x75\x6e\164\x5f\x70\x6f\151\x6e\x74" => $this->discount_point, "\144\x69\x73\143\157\x75\156\164\137\160\157\x69\x6e\x74\x5f\x72\x61\164\x65" => $this->discount_point_rate, "\x64\151\163\143\x6f\165\x6e\164\137\x70\157\x69\156\x74\137\x61\x6d\157\x75\156\164" => $this->discount_point_amount, "\x65\163\164\x69\x6d\x61\164\x65\x64\x5f\144\145\154\151\x76\145\162\171\x5f\x64\x61\x74\x65" => $this->estimated_delivery_date, "\x70\141\x79\155\x65\x6e\x74\137\155\x65\x74\150\x6f\144" => $this->payment_method, "\160\141\x79\155\x65\x6e\x74\x5f\x73\x74\x61\x74\x75\x73" => $this->payment_status, "\146\151\162\163\164\x5f\x6e\x61\x6d\x65" => $this->first_name, "\x6c\141\x73\164\137\156\x61\155\x65" => $this->last_name, "\146\x75\162\x69\147\x61\x6e\141\x5f\x66\151\x72\x73\x74\x5f\x6e\141\155\145" => $this->furigana_first_name, "\x66\x75\x72\x69\x67\x61\x6e\x61\137\x6c\x61\x73\164\x5f\x6e\x61\x6d\x65" => $this->furigana_last_name, "\x70\x6f\x73\164\x5f\x63\157\x64\x65" => $this->post_code, "\141\x64\144\162\145\163\163\61" => $this->address1, "\141\144\x64\162\145\x73\x73\62" => $this->address2, "\141\144\144\162\145\x73\163\63" => $this->address3, "\x70\150\157\x6e\x65\x5f\x6e\165\155\142\x65\162" => $this->phone_number, "\x65\155\x61\151\154" => $this->email, "\x6e\x6f\x74\145" => $this->note, "\163\164\141\164\x75\163" => $this->status, "\160\x61\x79\x6d\x65\156\164" => $this->payment != null && count($this->payment) > 0 ? $this->payment[0] : null, "\144\x65\154\x69\x76\145\x72\171" => $this->delivery != null && count($this->delivery) > 0 ? $this->delivery[0] : null, "\157\162\144\x65\162\x5f\144\145\x74\x61\x69\154" => $this->order_detail, "\151\163\x5f\x61\143\x74\151\166\141\x74\x65\x64" => $this->is_activated, "\143\162\x65\141\164\145\x64\x5f\141\164" => isset($this->created_at) ? date("\131\x2d\x6d\55\x64\40\x48\x3a\x69\72\x73", strtotime($this->created_at)) : null, "\165\x70\144\x61\x74\145\144\x5f\x61\164" => isset($this->updated_at) ? date("\131\55\x6d\55\x64\40\x48\72\x69\x3a\163", strtotime($this->updated_at)) : null]; } }