🙂 İNSANLARIN EN HAYIRLISI INSANLARA FAYDALI OLANDIR 🙂

Ramazan HABER / C# RMOS / reservasyon

1-) C# RMOS -

 public class RootObjectReservation

    {

        public List<Reservation> reservations { get; set; }

        public int count { get; set; }

        public int current_page { get; set; }

        public int pages { get; set; }

    }

    public class Reservation

    {

        public string hr_number { get; set; }

        public string provider_number { get; set; }

        public string channel { get; set; }

        public string channel_display { get; set; }

        public string state { get; set; }

        public bool modified { get; set; }

        public string guest { get; set; }

        public string firstname { get; set; }

        public string lastname { get; set; }

        public string cancel_reason { get; set; }

        public DateTime completed_at { get; set; }

        public DateTime updated_at { get; set; }

        public double sub_total { get; set; }

        public double extras_total { get; set; }

        public double adjustments_total { get; set; }

        public double tax_total { get; set; }

        public double total { get; set; }

        public string currency { get; set; }

        public string checkin_date { get; set; }

        public string checkout_date { get; set; }

        public string note { get; set; }

        public string payment { get; set; }

        public double paid_amount { get; set; }

        public bool deposit_tax_inclusive { get; set; }

        public bool requires_response { get; set; }

        public object system_message { get; set; }

        public string system_url { get; set; }

        public AddressReservation address { get; set; }

        public List<Room> rooms { get; set; }

        public string message_uid { get; set; }

    }

    public class AddressReservation

    {

        public string city { get; set; }

        public string state { get; set; }

        public string country { get; set; }

        public string country_code { get; set; }

        public string phone { get; set; }

        public string email { get; set; }

        public string street { get; set; }

        public string street_2 { get; set; }

    }

 

    public class RoomReservation

    {

        public string state { get; set; }

        public string code { get; set; }

        public string availability_group { get; set; }

        public string rate_code { get; set; }

        public string inv_code { get; set; }

        public bool non_refundable { get; set; }

        public double price { get; set; }

        public double total { get; set; }

        public int nights { get; set; }

        public string meal_plan { get; set; }

        public int total_guest { get; set; }

        public int total_adult { get; set; }

        public List<object> child_ages { get; set; }

        public string name { get; set; }

        public string checkin_date { get; set; }

        public string checkout_date { get; set; }

        public string extra_info { get; set; }

        public List<object> daily_prices { get; set; }

        public List<object> extras { get; set; }

    }

 2021 Ocak 18 Pazartesi
 393