public TimeActivityTC() { }
//
// Summary:
// Hours worked.
public int Hours { get; set; }
public bool HoursSpecified { get; set; }
//
// Summary:
// Minutes worked; valid values are 0 - 59.
public int Minutes { get; set; }
public bool MinutesSpecified { get; set; }
//
// Summary:
// Hours of break taken between start time and end time. [b]QuickBooks
Notes[/b][br
// /] [i]Unsupported field.[/i]
public int BreakHours { get; set; }
public bool BreakHoursSpecified { get; set; }
public bool HourlyRateSpecified { get; set; }
//
// Summary:
// Minutes of break taken between start time and end time. Valid values
are 0 -
// 59. [b]QuickBooks Notes[/b][br /] [i]Unsupported field.[/i]
public int BreakMinutes { get; set; }
//
// Summary:
// Time work started. [b]QuickBooks Notes[/b][br /] [i]Unsupported
field.[/i]
public DateTime StartTime { get; set; }
public bool StartTimeSpecified { get; set; }
//
// Summary:
// Time work ended. [b]QuickBooks Notes[/b][br /] [i]Unsupported field.
[/i]
public DateTime EndTime { get; set; }
public bool EndTimeSpecified { get; set; }
//
// Summary:
// Description of work completed during time activity.
public string Description { get; set; }
//
// Summary:
// Internal use only: extension place holder for TimeActivity.
public IntuitAnyType TimeActivityEx { get; set; }
public bool BreakMinutesSpecified { get; set; }
//
// Summary:
// True if the start, end hours are already with company/employee time
zone offset.
// Couple of TimeActivity API integrations are already submitting
start, end hours
// with right company/employee time zone offsets. Such integrations
will pass this
// attribute as true to avoid company time zone offsets by TimeActivity
API.
public bool HoursInEmployeeTimeZone { get; set; }
//
// Summary:
// Hourly bill rate of the employee or vendor for this time activity.
[b]QuickBooks
// Notes[/b][br /] [i]Unsupported field.[/i]
public decimal HourlyRate { get; set; }
//
// Summary:
// True if the time recorded is both billable and taxable.
public bool Taxable { get; set; }
//
// Summary:
// The timezone from where the time activity is entered, unused in QBO
and QBW
public string TimeZone { get; set; }
//
// Summary:
// The date of the time activity.
[XmlElement(DataType = "dateTime")]
public DateTime TxnDate { get; set; }
public bool TxnDateSpecified { get; set; }
public TimeActivityTypeEnum NameOf { get; set; }
public bool NameOfSpecified { get; set; }
[XmlChoiceIdentifier("ItemElementName")]
[XmlElement("EmployeeRef", typeof(ReferenceType))]
[XmlElement("OtherNameRef", typeof(ReferenceType))]
[XmlElement("VendorRef", typeof(ReferenceType))]
public ReferenceType AnyIntuitObject { get; set; }
public bool TaxableSpecified { get; set; }
public ItemChoiceType5 ItemElementName { get; set; }
//
// Summary:
// Represents Department Reference.
public ReferenceType DepartmentRef { get; set; }
//
// Summary:
// [br /] Required for the create operation.
public ReferenceType ItemRef { get; set; }
public ReferenceType ClassRef { get; set; }
//
// Summary:
// The payroll item determines how much the employee should be paid for
doing the
// work specified by the Item Service Id. In order for the Time
Activity data to
// be transferred to the employee payroll data, the Employee must have
the property
// UseTimeEntry set.
public ReferenceType PayrollItemRef { get; set; }
//
// Summary:
// Billable status of the time recorded
public BillableStatusEnum BillableStatus { get; set; }
public bool BillableStatusSpecified { get; set; }
//
// Summary:
// Represents Customer (or Job)Reference
public ReferenceType CustomerRef { get; set; }
public bool HoursInEmployeeTimeZoneSpecified { get; set; }