/**
  * Update WCPBC Customer country when order review is update
  */
 public function checkout_country_update($post_data)
 {
     if (isset($_POST['country']) && !in_array($_POST['country'], $this->customer->countries)) {
         $this->customer->set_country($_POST['country']);
     }
 }
 public function check_postcode()
 {
     $customer = new WCPBC_Customer();
     $customer->save_data();
     $customer_data = WC()->session->get('wcpbc_customer');
     if (is_array($customer_data) && !empty($customer_data) && isset($customer_data['message'])) {
         return $customer_data['message'];
     } else {
         return false;
     }
 }