Skip to content

Instantly share code, notes, and snippets.

@deadmann
Created May 11, 2016 06:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deadmann/22fd4a6ce24ebc653962770d093f9cd9 to your computer and use it in GitHub Desktop.
Save deadmann/22fd4a6ce24ebc653962770d093f9cd9 to your computer and use it in GitHub Desktop.
Question About Classes Related To SamTech Hotelux API
public class AddressInfo
{
public string CityId { get; set; }
public string Country { get; set; }
public string CountryCode { get; set; }
public string PostalCode { get; set; }
public string StateProvinceCode { get; set; }
public string Address { get; set; }
public string City { get; set; }
}
public class GuestList
{
public string NationalId { get; set; }
public string LastName { get; set; }
public string Name { get; set; }
public string PassportCode { get; set; }
}
public class PaymentInfo
{
public string CRSReceiptCode { get; set; }
public string BankAccountCode { get; set; }
public int Currency { get; set; }
public string TypeOfPayment { get; set; }
public DateTime DateOfPayment { get; set; }
public string TimeOfPayment { get; set; }
public int TotalPayed { get; set; }
public string BankReceiptCode { get; set; }
}
public class ReservationInfo
{
public string MobilePhone { get; set; }
public string NationalId { get; set; }
public string PassportCode { get; set; }
public string WorkPhone { get; set; }
public string FirstName { get; set; }
public string HomePhone { get; set; }
public string LastName { get; set; }
public string EMail { get; set; }
public string Extension { get; set; }
public string FaxPhone { get; set; }
}
public class RoomDetail : RoomDetailRequest //--> ارث بری از کلاس RoomDetailRequest مربوط به فایل رزرو هتل
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment