public class

TimeActivity

extends CdmBase
implements Serializable
java.lang.Object
   ↳ org.mule.modules.quickbooks.windows.schema.CdmObject
     ↳ org.mule.modules.quickbooks.windows.schema.CdmBase
       ↳ org.mule.modules.quickbooks.windows.schema.TimeActivity

Class Overview

Product: QBW Description: A record of time worked by a vendor or employee. A time activity records the time taken to complete a particular task. Professional service firms can track time for the following reasons: · To know the tasks of a person and the time spent on various projects, and to use this information for job costing. · To bill the clients using standard service item rates or custom billing rates. · To view and quickly access the unbilled time or expenses for a customer. · To view the number of unbilled hours in the project for each client in reports. · To use the stopwatch to record the time for a current activity. For example, when you answer a phone call from a client. · To preview the time records and paychecks of your employees when you pay your employees. · To pay non-employees (owners, partners, subcontractors, and vendors) for the number of hours they worked. Endpoint: services.intuit.com Business Rules: [li]If you modify the time activity records that are more than 5 years old, an error occurs. · The value of the NameOf element must be Employee or Vendor. [/li] [li]The value of the BillableStatus element must be Billable or HasBeenBillable. The default value is Billable. [/li][li] The default value of the Taxable element is set to True.[/li][li] Both the Hours and Minutes elements are either positive or negative.[/li]

Java class for TimeActivity complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="TimeActivity">
   <complexContent>
     <extension base="{http://www.intuit.com/sb/cdm/v2}CdmBase">
       <sequence>
         <element name="TxnDate" type="{http://www.intuit.com/sb/cdm/v2}IDSDate" minOccurs="0"/>
         <element name="NameOf" type="{http://www.intuit.com/sb/cdm/v2}TimeActivityTypeEnum" minOccurs="0"/>
         <choice minOccurs="0">
           <element name="Employee" type="{http://www.intuit.com/sb/cdm/v2}EmployeeRef" minOccurs="0"/>
           <element name="Vendor" type="{http://www.intuit.com/sb/cdm/v2}VendorRef" minOccurs="0"/>
         </choice>
         <group ref="{http://www.intuit.com/sb/cdm/v2}CustomerReferenceGroup" minOccurs="0"/>
         <group ref="{http://www.intuit.com/sb/cdm/v2}JobReferenceGroup" minOccurs="0"/>
         <group ref="{http://www.intuit.com/sb/cdm/v2}ItemReferenceGroup" minOccurs="0"/>
         <group ref="{http://www.intuit.com/sb/cdm/v2}ClassReferenceGroup" minOccurs="0"/>
         <group ref="{http://www.intuit.com/sb/cdm/v2}PayrollItemReferenceGroup" minOccurs="0"/>
         <element name="BillableStatus" type="{http://www.intuit.com/sb/cdm/v2}BillableStatusEnum" minOccurs="0"/>
         <element name="Taxable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="HourlyRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="Hours" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="Minutes" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="Seconds" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="BreakHours" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="BreakMinutes" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="StartTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="EndTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class org.mule.modules.quickbooks.windows.schema.CdmBase
From class org.mule.modules.quickbooks.windows.schema.CdmObject
Fields
protected BillableStatusEnum billableStatus
protected BigInteger breakHours
protected BigInteger breakMinutes
protected IdType classId
protected String className
protected IdType customerId
protected String customerName
protected String description
protected EmployeeRef employee
protected Date endTime
protected BigDecimal hourlyRate
protected BigInteger hours
protected IdType itemId
protected String itemName
protected ItemTypeEnum itemType
protected IdType jobId
protected String jobName
protected BigInteger minutes
protected TimeActivityTypeEnum nameOf
protected IdType payItemId
protected String payItemName
protected BigInteger seconds
protected Date startTime
protected Boolean taxable
protected String txnDate
protected VendorRef vendor
[Expand]
Inherited Fields
From class org.mule.modules.quickbooks.windows.schema.CdmBase
Public Constructors
TimeActivity()
Public Methods
BillableStatusEnum getBillableStatus()
Gets the value of the billableStatus property.
BigInteger getBreakHours()
Gets the value of the breakHours property.
BigInteger getBreakMinutes()
Gets the value of the breakMinutes property.
IdType getClassId()
Gets the value of the classId property.
String getClassName()
Gets the value of the className property.
IdType getCustomerId()
Gets the value of the customerId property.
String getCustomerName()
Gets the value of the customerName property.
String getDescription()
Gets the value of the description property.
EmployeeRef getEmployee()
Gets the value of the employee property.
Date getEndTime()
Gets the value of the endTime property.
BigDecimal getHourlyRate()
Gets the value of the hourlyRate property.
BigInteger getHours()
Gets the value of the hours property.
IdType getItemId()
Gets the value of the itemId property.
String getItemName()
Gets the value of the itemName property.
ItemTypeEnum getItemType()
Gets the value of the itemType property.
IdType getJobId()
Gets the value of the jobId property.
String getJobName()
Gets the value of the jobName property.
BigInteger getMinutes()
Gets the value of the minutes property.
TimeActivityTypeEnum getNameOf()
Gets the value of the nameOf property.
IdType getPayItemId()
Gets the value of the payItemId property.
String getPayItemName()
Gets the value of the payItemName property.
BigInteger getSeconds()
Gets the value of the seconds property.
Date getStartTime()
Gets the value of the startTime property.
Boolean getTaxable()
Gets the value of the taxable property.
String getTxnDate()
Gets the value of the txnDate property.
VendorRef getVendor()
Gets the value of the vendor property.
void setBillableStatus(BillableStatusEnum value)
Sets the value of the billableStatus property.
void setBreakHours(BigInteger value)
Sets the value of the breakHours property.
void setBreakMinutes(BigInteger value)
Sets the value of the breakMinutes property.
void setClassId(IdType value)
Sets the value of the classId property.
void setClassName(String value)
Sets the value of the className property.
void setCustomerId(IdType value)
Sets the value of the customerId property.
void setCustomerName(String value)
Sets the value of the customerName property.
void setDescription(String value)
Sets the value of the description property.
void setEmployee(EmployeeRef value)
Sets the value of the employee property.
void setEndTime(Date value)
Sets the value of the endTime property.
void setHourlyRate(BigDecimal value)
Sets the value of the hourlyRate property.
void setHours(BigInteger value)
Sets the value of the hours property.
void setItemId(IdType value)
Sets the value of the itemId property.
void setItemName(String value)
Sets the value of the itemName property.
void setItemType(ItemTypeEnum value)
Sets the value of the itemType property.
void setJobId(IdType value)
Sets the value of the jobId property.
void setJobName(String value)
Sets the value of the jobName property.
void setMinutes(BigInteger value)
Sets the value of the minutes property.
void setNameOf(TimeActivityTypeEnum value)
Sets the value of the nameOf property.
void setPayItemId(IdType value)
Sets the value of the payItemId property.
void setPayItemName(String value)
Sets the value of the payItemName property.
void setSeconds(BigInteger value)
Sets the value of the seconds property.
void setStartTime(Date value)
Sets the value of the startTime property.
void setTaxable(Boolean value)
Sets the value of the taxable property.
void setTxnDate(String value)
Sets the value of the txnDate property.
void setVendor(VendorRef value)
Sets the value of the vendor property.
[Expand]
Inherited Methods
From class org.mule.modules.quickbooks.windows.schema.CdmBase
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected BillableStatusEnum billableStatus

protected BigInteger breakHours

protected BigInteger breakMinutes

protected IdType classId

protected String className

protected IdType customerId

protected String customerName

protected String description

protected EmployeeRef employee

protected Date endTime

protected BigDecimal hourlyRate

protected BigInteger hours

protected IdType itemId

protected String itemName

protected ItemTypeEnum itemType

protected IdType jobId

protected String jobName

protected BigInteger minutes

protected TimeActivityTypeEnum nameOf

protected IdType payItemId

protected String payItemName

protected BigInteger seconds

protected Date startTime

protected Boolean taxable

protected String txnDate

protected VendorRef vendor

Public Constructors

public TimeActivity ()

Public Methods

public BillableStatusEnum getBillableStatus ()

Gets the value of the billableStatus property.

Returns

public BigInteger getBreakHours ()

Gets the value of the breakHours property.

Returns
  • possible object is BigInteger

public BigInteger getBreakMinutes ()

Gets the value of the breakMinutes property.

Returns
  • possible object is BigInteger

public IdType getClassId ()

Gets the value of the classId property.

Returns

public String getClassName ()

Gets the value of the className property.

Returns
  • possible object is String

public IdType getCustomerId ()

Gets the value of the customerId property.

Returns

public String getCustomerName ()

Gets the value of the customerName property.

Returns
  • possible object is String

public String getDescription ()

Gets the value of the description property.

Returns
  • possible object is String

public EmployeeRef getEmployee ()

Gets the value of the employee property.

Returns

public Date getEndTime ()

Gets the value of the endTime property.

Returns
  • possible object is String

public BigDecimal getHourlyRate ()

Gets the value of the hourlyRate property.

Returns
  • possible object is BigDecimal

public BigInteger getHours ()

Gets the value of the hours property.

Returns
  • possible object is BigInteger

public IdType getItemId ()

Gets the value of the itemId property.

Returns

public String getItemName ()

Gets the value of the itemName property.

Returns
  • possible object is String

public ItemTypeEnum getItemType ()

Gets the value of the itemType property.

Returns

public IdType getJobId ()

Gets the value of the jobId property.

Returns

public String getJobName ()

Gets the value of the jobName property.

Returns
  • possible object is String

public BigInteger getMinutes ()

Gets the value of the minutes property.

Returns
  • possible object is BigInteger

public TimeActivityTypeEnum getNameOf ()

Gets the value of the nameOf property.

Returns

public IdType getPayItemId ()

Gets the value of the payItemId property.

Returns

public String getPayItemName ()

Gets the value of the payItemName property.

Returns
  • possible object is String

public BigInteger getSeconds ()

Gets the value of the seconds property.

Returns
  • possible object is BigInteger

public Date getStartTime ()

Gets the value of the startTime property.

Returns
  • possible object is String

public Boolean getTaxable ()

Gets the value of the taxable property.

Returns
  • possible object is Boolean

public String getTxnDate ()

Gets the value of the txnDate property.

Returns
  • possible object is String

public VendorRef getVendor ()

Gets the value of the vendor property.

Returns

public void setBillableStatus (BillableStatusEnum value)

Sets the value of the billableStatus property.

Parameters
value Allowed object is BillableStatusEnum

public void setBreakHours (BigInteger value)

Sets the value of the breakHours property.

Parameters
value Allowed object is BigInteger

public void setBreakMinutes (BigInteger value)

Sets the value of the breakMinutes property.

Parameters
value Allowed object is BigInteger

public void setClassId (IdType value)

Sets the value of the classId property.

Parameters
value Allowed object is IdType

public void setClassName (String value)

Sets the value of the className property.

Parameters
value Allowed object is String

public void setCustomerId (IdType value)

Sets the value of the customerId property.

Parameters
value Allowed object is IdType

public void setCustomerName (String value)

Sets the value of the customerName property.

Parameters
value Allowed object is String

public void setDescription (String value)

Sets the value of the description property.

Parameters
value Allowed object is String

public void setEmployee (EmployeeRef value)

Sets the value of the employee property.

Parameters
value Allowed object is EmployeeRef

public void setEndTime (Date value)

Sets the value of the endTime property.

Parameters
value Allowed object is String

public void setHourlyRate (BigDecimal value)

Sets the value of the hourlyRate property.

Parameters
value Allowed object is BigDecimal

public void setHours (BigInteger value)

Sets the value of the hours property.

Parameters
value Allowed object is BigInteger

public void setItemId (IdType value)

Sets the value of the itemId property.

Parameters
value Allowed object is IdType

public void setItemName (String value)

Sets the value of the itemName property.

Parameters
value Allowed object is String

public void setItemType (ItemTypeEnum value)

Sets the value of the itemType property.

Parameters
value Allowed object is ItemTypeEnum

public void setJobId (IdType value)

Sets the value of the jobId property.

Parameters
value Allowed object is IdType

public void setJobName (String value)

Sets the value of the jobName property.

Parameters
value Allowed object is String

public void setMinutes (BigInteger value)

Sets the value of the minutes property.

Parameters
value Allowed object is BigInteger

public void setNameOf (TimeActivityTypeEnum value)

Sets the value of the nameOf property.

Parameters
value Allowed object is TimeActivityTypeEnum

public void setPayItemId (IdType value)

Sets the value of the payItemId property.

Parameters
value Allowed object is IdType

public void setPayItemName (String value)

Sets the value of the payItemName property.

Parameters
value Allowed object is String

public void setSeconds (BigInteger value)

Sets the value of the seconds property.

Parameters
value Allowed object is BigInteger

public void setStartTime (Date value)

Sets the value of the startTime property.

Parameters
value Allowed object is String

public void setTaxable (Boolean value)

Sets the value of the taxable property.

Parameters
value Allowed object is Boolean

public void setTxnDate (String value)

Sets the value of the txnDate property.

Parameters
value Allowed object is String

public void setVendor (VendorRef value)

Sets the value of the vendor property.

Parameters
value Allowed object is VendorRef