-
Notifications
You must be signed in to change notification settings - Fork 249
/
Copy pathIPPReferenceType.php
57 lines (50 loc) · 1.69 KB
/
IPPReferenceType.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
<?php
namespace QuickBooksOnline\API\Data;
/**
* @xmlNamespace http://schema.intuit.com/finance/v3
* @xmlType id
* @xmlName IPPReferenceType
* @var IPPReferenceType
* @xmlDefinition
Product: ALL
Description: Reference type of all IDs that are taken as input or output.
*/
class IPPReferenceType
extends IPPid {
/**
* 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('IPPReferenceType',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPReferenceType',$initPropName))
{
$this->{$initPropName} = $initPropVal;
}
else
{
if ($verbose)
echo "Property does not exist ($initPropName) in class (".get_class($this).")";
}
}
}
/**
* @xmlType attribute
* @xmlName name
* @var string
*/
public $name;
/**
* @xmlType attribute
* @xmlName type
* @var string
*/
public $type;
} // end class IPPReferenceType