Skip to content

Commit 20ce804

Browse files
Merge pull request #470 from sujitharamadass/Feb23Release
MinorVersion 68 release
2 parents 2ab302e + 2d52978 commit 20ce804

File tree

7 files changed

+223
-3
lines changed

7 files changed

+223
-3
lines changed

src/Core/CoreConstants.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class CoreConstants
88
{
99
//Set the default minor version
10-
const DEFAULT_SDK_MINOR_VERSION = "65";
10+
const DEFAULT_SDK_MINOR_VERSION = "68";
1111
const DEFAULT_LOGGINGLOCATION = "/tmp/IdsLogs";
1212

1313
const PHP_CLASS_PREFIX = 'IPP';
@@ -297,7 +297,7 @@ class CoreConstants
297297
* The Request source header value.
298298
* @var string REQUESTSOURCEHEADER
299299
*/
300-
const USERAGENT = "V3PHPSDK6.1.0";
300+
const USERAGENT = "V3PHPSDK6.1.1";
301301

302302
public static function getType($string, $return=1)
303303
{

src/Data/IPPAccountSubTypeEnum.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @var IPPAccountSubTypeEnum
99
* @xmlDefinition
1010
Product: QBO
11-
Description: Use Other Debtors to group Accounts Receivable other than those from customers.
11+
Description: Use Rent a room relief - Relief Claimed for relief claimed for rented room for landlords
1212
1313
* @xmlb Share Application Money Pending Allotment
1414
*/

src/Data/IPPLine.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,20 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE)
396396
* @var com\intuit\schema\finance\v3\IPPIntuitAnyType
397397
*/
398398
public $LineEx;
399+
/**
400+
* @Definition
401+
Product: ALL
402+
Description: Project identifier
403+
References to the project this line
404+
is associated with
405+
406+
* @xmlType element
407+
* @xmlNamespace http://schema.intuit.com/finance/v3
408+
* @xmlMinOccurs 0
409+
* @xmlName ProjectRef
410+
* @var com\intuit\schema\finance\v3\IPPReferenceType
411+
*/
412+
public $ProjectRef;
399413

400414

401415
} // end class IPPLine

src/Data/IPPMXGlobalInfo.php

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<?php
2+
namespace QuickBooksOnline\API\Data;
3+
4+
/**
5+
* @xmlNamespace http://schema.intuit.com/finance/v3
6+
* @xmlType
7+
* @xmlName IPPMXGlobalInfo
8+
* @var IPPMXGlobalInfo
9+
* @xmlDefinition
10+
Product: QBO
11+
Description: Global invoice data of a transaction which is required by CFDI4.0 in Mexico.
12+
Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of Exportation, Periodicity, and Year.
13+
14+
*/
15+
class IPPMXGlobalInfo
16+
{
17+
18+
/**
19+
* Initializes this object, optionally with pre-defined property values
20+
*
21+
* Initializes this object and it's property members, using the dictionary
22+
* of key/value pairs passed as an optional argument.
23+
*
24+
* @param dictionary $keyValInitializers key/value pairs to be populated into object's properties
25+
* @param boolean $verbose specifies whether object should echo warnings
26+
*/
27+
public function __construct($keyValInitializers=array(), $verbose=FALSE)
28+
{
29+
foreach($keyValInitializers as $initPropName => $initPropVal)
30+
{
31+
if (property_exists('IPPMXGlobalInfo',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPMXGlobalInfo',$initPropName))
32+
{
33+
$this->{$initPropName} = $initPropVal;
34+
}
35+
else
36+
{
37+
if ($verbose)
38+
echo "Property does not exist ($initPropName) in class (".get_class($this).")";
39+
}
40+
}
41+
}
42+
43+
44+
/**
45+
* @Definition
46+
Product: QBO
47+
Description: Periodicity of global invoice data which is required by CFDI4.0 in Mexico.
48+
49+
* @xmlType element
50+
* @xmlNamespace http://schema.intuit.com/finance/v3
51+
* @xmlMinOccurs 0
52+
* @xmlName Periodicity
53+
* @var string
54+
*/
55+
public $Periodicity;
56+
/**
57+
* @Definition
58+
Product: QBO
59+
Description: Month of global invoice data which is required by CFDI4.0 in Mexico.
60+
61+
* @xmlType element
62+
* @xmlNamespace http://schema.intuit.com/finance/v3
63+
* @xmlMinOccurs 0
64+
* @xmlName Month
65+
* @var string
66+
*/
67+
public $Month;
68+
/**
69+
* @Definition
70+
Product: QBO
71+
Description: Year of global invoice data which is required by CFDI4.0 in Mexico.
72+
73+
* @xmlType element
74+
* @xmlNamespace http://schema.intuit.com/finance/v3
75+
* @xmlMinOccurs 0
76+
* @xmlName Year
77+
* @var string
78+
*/
79+
public $Year;
80+
81+
82+
} // end class IPPMXGlobalInfo

src/Data/IPPTimeActivity.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,20 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE)
156156
* @var com\intuit\schema\finance\v3\IPPReferenceType
157157
*/
158158
public $PayrollItemRef;
159+
/**
160+
* @Definition
161+
Product: ALL
162+
Description: Project identifier
163+
References to the project this line
164+
is associated with
165+
166+
* @xmlType element
167+
* @xmlNamespace http://schema.intuit.com/finance/v3
168+
* @xmlMinOccurs 0
169+
* @xmlName ProjectRef
170+
* @var com\intuit\schema\finance\v3\IPPReferenceType
171+
*/
172+
public $ProjectRef;
159173
/**
160174
* @Definition Billable status of the time recorded
161175

src/Data/IPPTransaction.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,20 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE)
350350
* @var com\intuit\schema\finance\v3\IPPRecurringInfo
351351
*/
352352
public $RecurringInfo;
353+
/**
354+
* @Definition
355+
Product: ALL
356+
Description: Project identifier
357+
References to the project this transaction
358+
is associated with
359+
360+
* @xmlType element
361+
* @xmlNamespace http://schema.intuit.com/finance/v3
362+
* @xmlMinOccurs 0
363+
* @xmlName ProjectRef
364+
* @var com\intuit\schema\finance\v3\IPPReferenceType
365+
*/
366+
public $ProjectRef;
353367

354368

355369
} // end class IPPTransaction

src/XSD/Finance.xsd

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2936,6 +2936,70 @@
29362936
</xs:documentation>
29372937
</xs:annotation>
29382938
</xs:enumeration>
2939+
<xs:enumeration value="RentARoomReliefRentsReceived">
2940+
<xs:annotation>
2941+
<xs:documentation>
2942+
Product: QBO
2943+
Description: Use Rent a room relief - Rents Received for rents receivable for UK landlords
2944+
</xs:documentation>
2945+
</xs:annotation>
2946+
</xs:enumeration>
2947+
<xs:enumeration value="UkTaxesWithheld">
2948+
<xs:annotation>
2949+
<xs:documentation>
2950+
Product: QBO
2951+
Description: Use UK Taxes withheld for tax withheld from non-resident landlords
2952+
</xs:documentation>
2953+
</xs:annotation>
2954+
</xs:enumeration>
2955+
<xs:enumeration value="ForeignTaxesIncurred">
2956+
<xs:annotation>
2957+
<xs:documentation>
2958+
Product: QBO
2959+
Description: Use Foreign Tax paid for foreign taxes for landlords
2960+
</xs:documentation>
2961+
</xs:annotation>
2962+
</xs:enumeration>
2963+
<xs:enumeration value="PremiumsReceived">
2964+
<xs:annotation>
2965+
<xs:documentation>
2966+
Product: QBO
2967+
Description: Use Premiums Received for premiums for the Grant of a lease for landlords
2968+
</xs:documentation>
2969+
</xs:annotation>
2970+
</xs:enumeration>
2971+
<xs:enumeration value="PremiumsPaid">
2972+
<xs:annotation>
2973+
<xs:documentation>
2974+
Product: QBO
2975+
Description: Use Premiums Paid for reverse premiums and inducements for landlords
2976+
</xs:documentation>
2977+
</xs:annotation>
2978+
</xs:enumeration>
2979+
<xs:enumeration value="FinanceCostsRestricted">
2980+
<xs:annotation>
2981+
<xs:documentation>
2982+
Product: QBO
2983+
Description: Use Finance Costs Restricted for residential property interest charged on finance for landlords
2984+
</xs:documentation>
2985+
</xs:annotation>
2986+
</xs:enumeration>
2987+
<xs:enumeration value="CarriedForwardRelief">
2988+
<xs:annotation>
2989+
<xs:documentation>
2990+
Product: QBO
2991+
Description: Use Carried Forward Relief for carried forward residential property interest charged on finance for landlords
2992+
</xs:documentation>
2993+
</xs:annotation>
2994+
</xs:enumeration>
2995+
<xs:enumeration value="RentARoomReliefReliefClaimed">
2996+
<xs:annotation>
2997+
<xs:documentation>
2998+
Product: QBO
2999+
Description: Use Rent a room relief - Relief Claimed for relief claimed for rented room for landlords
3000+
</xs:documentation>
3001+
</xs:annotation>
3002+
</xs:enumeration>
29393003
</xs:restriction>
29403004
</xs:simpleType>
29413005
<xs:simpleType name="APCreditCardOperationEnum">
@@ -4954,6 +5018,17 @@
49545018
</xs:documentation>
49555019
</xs:annotation>
49565020
</xs:element>
5021+
<xs:element name="ProjectRef" type="ReferenceType"
5022+
minOccurs="0">
5023+
<xs:annotation>
5024+
<xs:documentation>
5025+
Product: ALL
5026+
Description: Project identifier
5027+
References to the project this transaction
5028+
is associated with
5029+
</xs:documentation>
5030+
</xs:annotation>
5031+
</xs:element>
49575032
</xs:sequence>
49585033
</xs:extension>
49595034
</xs:complexContent>
@@ -6527,6 +6602,16 @@
65276602
</xs:documentation>
65286603
</xs:annotation>
65296604
</xs:element>
6605+
<xs:element name="ProjectRef" type="ReferenceType" minOccurs="0">
6606+
<xs:annotation>
6607+
<xs:documentation>
6608+
Product: ALL
6609+
Description: Project identifier
6610+
References to the project this line
6611+
is associated with
6612+
</xs:documentation>
6613+
</xs:annotation>
6614+
</xs:element>
65306615
</xs:sequence>
65316616
</xs:complexType>
65326617
<xs:complexType name="Tag">
@@ -12022,6 +12107,17 @@
1202212107
</xs:documentation>
1202312108
</xs:annotation>
1202412109
</xs:element>
12110+
<xs:element name="ProjectRef" type="ReferenceType"
12111+
minOccurs="0">
12112+
<xs:annotation>
12113+
<xs:documentation>
12114+
Product: ALL
12115+
Description: Project identifier
12116+
References to the project this line
12117+
is associated with
12118+
</xs:documentation>
12119+
</xs:annotation>
12120+
</xs:element>
1202512121
<xs:element name="BillableStatus" type="BillableStatusEnum"
1202612122
minOccurs="0">
1202712123
<xs:annotation>

0 commit comments

Comments
 (0)