-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #443 from intuit/release/v6.0.3
Release/v6.0.3
- Loading branch information
Showing
13 changed files
with
442 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<?php | ||
namespace QuickBooksOnline\API\Data; | ||
|
||
/** | ||
* @xmlNamespace http://schema.intuit.com/finance/v3 | ||
* @xmlType Transaction | ||
* @xmlName IPPInventoryAdjustment | ||
* @var IPPInventoryAdjustment | ||
* @xmlDefinition | ||
Product: QBO | ||
Description: The Inventory Adjustment request element | ||
*/ | ||
class IPPInventoryAdjustment | ||
extends IPPTransaction { | ||
|
||
/** | ||
* 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('IPPInventoryAdjustment',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPInventoryAdjustment',$initPropName)) | ||
{ | ||
$this->{$initPropName} = $initPropVal; | ||
} | ||
else | ||
{ | ||
if ($verbose) | ||
echo "Property does not exist ($initPropName) in class (".get_class($this).")"; | ||
} | ||
} | ||
} | ||
|
||
|
||
/** | ||
* @Definition | ||
Product: QBO | ||
Description: When this property is set to true, the "Inventory Adjustment" is treated | ||
as a notice-of-shipment or packing slip. This will cause the accounting engine to book | ||
the revenue from the sale of the items. When this property is set, the SalesPrice property | ||
must be provided. In order for correct accounting to occur SalesPrice (per item) amount | ||
must match the sales amount on the sales transaction - but no validation of this occurs | ||
within the accounting engine. | ||
* @xmlType element | ||
* @xmlNamespace http://schema.intuit.com/finance/v3 | ||
* @xmlMinOccurs 0 | ||
* @xmlName ShippingAdjustment | ||
* @var boolean | ||
*/ | ||
public $ShippingAdjustment; | ||
/** | ||
* @Definition | ||
Product: QBO | ||
Description: Reference to the | ||
Inventory Adjustment account used to adjust inventory. | ||
This is an expense or opening balance equity account. | ||
The inventory asset account is used from item's definition. | ||
* @xmlType element | ||
* @xmlNamespace http://schema.intuit.com/finance/v3 | ||
* @xmlMinOccurs 1 | ||
* @xmlMaxOccurs 1 | ||
* @xmlName AdjustAccountRef | ||
* @var com\intuit\schema\finance\v3\IPPReferenceType | ||
*/ | ||
public $AdjustAccountRef; | ||
/** | ||
* @Definition | ||
Product: QBO | ||
Description: Customer Reference | ||
* @xmlType element | ||
* @xmlNamespace http://schema.intuit.com/finance/v3 | ||
* @xmlMinOccurs 0 | ||
* @xmlMaxOccurs 1 | ||
* @xmlName CustomerRef | ||
* @var com\intuit\schema\finance\v3\IPPReferenceType | ||
*/ | ||
public $CustomerRef; | ||
|
||
|
||
} // end class IPPInventoryAdjustment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
<?php | ||
namespace QuickBooksOnline\API\Data; | ||
|
||
/** | ||
* @xmlNamespace http://schema.intuit.com/finance/v3 | ||
* @xmlType | ||
* @xmlName IPPItemAdjustmentLineDetail | ||
* @var IPPItemAdjustmentLineDetail | ||
* @xmlDefinition | ||
Product: QBO | ||
Description: Contains the line details of an inventory adjustment transaction. | ||
*/ | ||
class IPPItemAdjustmentLineDetail | ||
{ | ||
|
||
/** | ||
* 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('IPPItemAdjustmentLineDetail',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPItemAdjustmentLineDetail',$initPropName)) | ||
{ | ||
$this->{$initPropName} = $initPropVal; | ||
} | ||
else | ||
{ | ||
if ($verbose) | ||
echo "Property does not exist ($initPropName) in class (".get_class($this).")"; | ||
} | ||
} | ||
} | ||
|
||
|
||
/** | ||
* @Definition | ||
Product: QBO | ||
Description: Reference to an inventory item. | ||
* @xmlType element | ||
* @xmlNamespace http://schema.intuit.com/finance/v3 | ||
* @xmlMinOccurs 1 | ||
* @xmlMaxOccurs 1 | ||
* @xmlName ItemRef | ||
* @var com\intuit\schema\finance\v3\IPPReferenceType | ||
*/ | ||
public $ItemRef; | ||
/** | ||
* @Definition | ||
Product: QBO | ||
Description: Specifies the Sales Price (per item) for which the items being disbursed were sold. | ||
* @xmlType element | ||
* @xmlNamespace http://schema.intuit.com/finance/v3 | ||
* @xmlMinOccurs 0 | ||
* @xmlName SalesPrice | ||
* @var float | ||
*/ | ||
public $SalesPrice; | ||
/** | ||
* @Definition | ||
Product: QBO | ||
Description: Difference in quantity | ||
it will have negative value for reducing quantity | ||
positive value for increasing quantity. | ||
* @xmlType element | ||
* @xmlNamespace http://schema.intuit.com/finance/v3 | ||
* @xmlMinOccurs 0 | ||
* @xmlName QtyDiff | ||
* @var float | ||
*/ | ||
public $QtyDiff; | ||
/** | ||
* @Definition | ||
Product: QBO | ||
Description: New quantity as of provided | ||
transaction date. | ||
* @xmlType element | ||
* @xmlNamespace http://schema.intuit.com/finance/v3 | ||
* @xmlMinOccurs 0 | ||
* @xmlName NewQty | ||
* @var float | ||
*/ | ||
public $NewQty; | ||
/** | ||
* @Definition | ||
Product: QBO | ||
Description: Class Reference | ||
* @xmlType element | ||
* @xmlNamespace http://schema.intuit.com/finance/v3 | ||
* @xmlMinOccurs 0 | ||
* @xmlMaxOccurs 1 | ||
* @xmlName ClassRef | ||
* @var com\intuit\schema\finance\v3\IPPReferenceType | ||
*/ | ||
public $ClassRef; | ||
|
||
|
||
} // end class IPPItemAdjustmentLineDetail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- Finance (CDM) binding customization file for use by the JAXB schema binding compiler (xjc) | ||
Set global bindings | ||
--> | ||
<jxb:bindings version="2.0" | ||
xmlns:xjc ="http://java.sun.com/xml/ns/jaxb/xjc" | ||
xmlns:jxb="http://java.sun.com/xml/ns/jaxb" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema"> | ||
|
||
<jxb:bindings schemaLocation="Finance.xsd" node="/xs:schema"> | ||
<jxb:globalBindings typesafeEnumMaxMembers="512"> | ||
<jxb:serializable uid="1" /> | ||
<xjc:javaType name="java.util.Date" | ||
xmlType="xs:dateTime" | ||
adapter="com.intuit.sb.cdm.util.v3.DateTimeAdapter"/> | ||
<xjc:javaType name="java.util.Date" | ||
xmlType="xs:date" | ||
adapter="com.intuit.sb.cdm.util.v3.DateAdapter"/> | ||
<xjc:javaType name="java.util.Date" | ||
xmlType="xs:time" | ||
adapter="com.intuit.sb.cdm.util.v3.TimestampAdapter"/> | ||
</jxb:globalBindings > | ||
</jxb:bindings> | ||
</jxb:bindings> |
Oops, something went wrong.
6341928
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Safetech Encryption
• Utilize the E2EE Activate Command and CPX configuration settings to enable encryption. The E2EE configuration file “e2ecfg” is a Chase signed file and CPX only uses the validated version.
• Certify to process either PNS ISO or UTF as a Host Capture (HCS) environment. Integrators should reach out to [email protected] to get testing and certification info
• Confirm the CPX version is able to support Onguard Encryption.
• Manage updates and distribution of the Chase signed BIN Exclusion file for merchants. The integrator is
responsible for working with the merchant to identify whether the merchant requires: o BIN Exclusion as part of their encryption solution,
o Additions to the standard BIN Exclusion file supplied by Chase.
Testing and Certification Info
• Certify to process either PNS ISO or UTF as a Host Capture (HCS) environment. Integrators should reach out to [email protected] to obtain testing and certification info.
• Order testing devices through Ingenico and inject them with the Chase DUKPT Test Key (referred to as Chase Test DUKPT Key at Ingenico)
o Production devices cannot be used for testing.
o Test devices cannot be used in production.
• Register the test PIN pad’s serial numbers with IRM.
• Chase card-present host testing values are provided by the IRM Certification analyst.
Best Practices
• Disable all card entry on the POS including manual entry.
• Query the device status and confirm encryption regularly; do not allow unencrypted processing.
• Processing store-and-forward and offline transactions is not recommended when encryption is enabled. If
performed, all fraud risk falls on the merchant.
• Ensure encryption is enabled whenever a PIN pad is replaced or moved between POS lanes and before any
transactions are processed.
Disabling Encryption
• The E2EE configuration file can be downloaded by switching the E2EE feature from disabled to enabled.
inject_into_urllib3
.SSLContext
object to calls into