/
IPPPurchaseOrderItemLineDetail.php
88 lines (79 loc) · 3.12 KB
/
IPPPurchaseOrderItemLineDetail.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?php
namespace QuickBooksOnline\API\Data;
/**
* @xmlNamespace http://schema.intuit.com/finance/v3
* @xmlType SalesItemLineDetail
* @xmlName IPPPurchaseOrderItemLineDetail
* @var IPPPurchaseOrderItemLineDetail
* @xmlDefinition
Product: ALL
Description: PurchaseOrder item detail for a transaction line.
*/
class IPPPurchaseOrderItemLineDetail extends IPPSalesItemLineDetail
{
/**
* Initializes this object, optionally with pre-defined property values
*
* Initializes this object and it's property members, using the dictionary
* of key/value pairs passed as an optional argument.
*
* @param dictionary $keyValInitializers key/value pairs to be populated into object's properties
* @param boolean $verbose specifies whether object should echo warnings
*/
public function __construct($keyValInitializers=array(), $verbose=false)
{
foreach ($keyValInitializers as $initPropName => $initPropVal) {
if (property_exists('IPPPurchaseOrderItemLineDetail', $initPropName)|| property_exists('QuickBooksOnline\API\Data\IPPPurchaseOrderItemLineDetail', $initPropName)) {
$this->{$initPropName} = $initPropVal;
} else {
if ($verbose) {
echo "Property does not exist ($initPropName) in class (".get_class($this).")";
}
}
}
}
/**
* @Definition
Product: ALL
Description: The identifier provided by manufacturer for the Item. For example, the model number.
* @xmlType element
* @xmlNamespace http://schema.intuit.com/finance/v3
* @xmlMinOccurs 0
* @xmlName ManPartNum
* @var string
*/
public $ManPartNum;
/**
* @Definition
Product: ALL
Description: The item on the line is marked as if fully receiveded, but it is closed as no longer available.
* @xmlType element
* @xmlNamespace http://schema.intuit.com/finance/v3
* @xmlMinOccurs 0
* @xmlName ManuallyClosed
* @var boolean
*/
public $ManuallyClosed;
/**
* @Definition
Product: ALL
Description: Represents the difference between the quantity ordered and actually received.[br /]Cannot be written to QuickBooks.
* @xmlType element
* @xmlNamespace http://schema.intuit.com/finance/v3
* @xmlMinOccurs 0
* @xmlName OpenQty
* @var float
*/
public $OpenQty;
/**
* @Definition
Product: ALL
Description: Internal use only: extension place holder for PurchaseOrderItemDetail
* @xmlType element
* @xmlNamespace http://schema.intuit.com/finance/v3
* @xmlMinOccurs 0
* @xmlName PurchaseOrderItemLineDetailEx
* @var com\intuit\schema\finance\v3\IPPIntuitAnyType
*/
public $PurchaseOrderItemLineDetailEx;
} // end class IPPPurchaseOrderItemLineDetail