<?php

namespace Alsendo\AlsendoWrapper\Model\Order\Created;

class Receiver
{
    public ?string $name = null;
    public ?string $contact_person = null;
    public ?string $email = null;
    public ?string $phone = null;
    public ?string $line1 = null;
    public ?string $line2 = null;
    public ?string $postal_code = null;
    public ?string $city = null;
    public ?string $country_code = null;
    public ?string $foreign_address_id = null;

    //Only in ecolet
    public ?int $locality_id = null;
    public ?string $block = null;
    public ?string $floor = null;
    public ?string $flat = null;
    public ?string $entrance = null;
    public ?string $county = null;
    public bool $has_map_point = false;
    public ?int $map_point_id = null;
}