$this->countryCode, 'zipcode' => $this->zipcode, 'region' => $this->region, 'city' => $this->city, 'address' => $this->address, ]; } /** * 국내 배송 여부 확인 */ public function isDomestic(): bool { return $this->countryCode === 'KR' || $this->countryCode === null; } /** * 해외 배송 여부 확인 */ public function isInternational(): bool { return ! $this->isDomestic(); } }