Skip to content

Commit f9d1e76

Browse files
committed
update minor version
1 parent 70a64f5 commit f9d1e76

File tree

250 files changed

+23417
-21141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+23417
-21141
lines changed

src/Core/CoreConstants.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class CoreConstants
88
{
99
//Set the default minor version to 23
10-
const DEFAULT_SDK_MINOR_VERSION = "23";
10+
const DEFAULT_SDK_MINOR_VERSION = "36";
1111
const DEFAULT_LOGGINGLOCATION = "/tmp/IdsLogs";
1212

1313
const PHP_CLASS_PREFIX = 'IPP';
@@ -293,7 +293,7 @@ class CoreConstants
293293
* The Request source header value.
294294
* @var string REQUESTSOURCEHEADER
295295
*/
296-
const USERAGENT = "V3PHPSDK5.0.0";
296+
const USERAGENT = "V3PHPSDK6.0.0";
297297

298298
public static function getType($string, $return=1)
299299
{

src/Data/IPPAPCreditCardOperationEnum.php

+36-32
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,44 @@
66
* @xmlType string
77
* @xmlName IPPAPCreditCardOperationEnum
88
* @var IPPAPCreditCardOperationEnum
9-
* @xmlDefinition
10-
Product: ALL
11-
Description: Enumeration of Credit Card
12-
operation type: Charge or Credit.
13-
9+
* @xmlDefinition
10+
Product: ALL
11+
Description: Enumeration of Credit Card
12+
operation type: Charge or Credit.
13+
1414
*/
1515
class IPPAPCreditCardOperationEnum
16-
{
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('IPPAPCreditCardOperationEnum',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPAPCreditCardOperationEnum',$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+
}
1742

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-
if (property_exists('IPPAPCreditCardOperationEnum', $initPropName) || property_exists('QuickBooksOnline\API\Data\IPPAPCreditCardOperationEnum', $initPropName)) {
31-
$this->{$initPropName} = $initPropVal;
32-
} else {
33-
if ($verbose) {
34-
echo "Property does not exist ($initPropName) in class (".get_class($this).")";
35-
}
36-
}
37-
}
38-
}
43+
/**
44+
* @xmlType value
45+
* @var string
46+
*/
47+
public $value;
3948

40-
/**
41-
* @xmlType value
42-
* @var string
43-
*/
44-
public $value;
4549
} // end class IPPAPCreditCardOperationEnum

0 commit comments

Comments
 (0)