IPPDiscountOverride.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\IPPDiscountOverride

Package: Default
Children
\IPPDiscountLineDetail
IPPDiscountOverride
\IPPDiscountOverride

XmlDefinition
Product: ALL Description: Optional amount by which the amount due on the referenced transaction is being reduced.  
XmlName
IPPDiscountOverride  
XmlNamespace
http://schema.intuit.com/finance/v3  
XmlType
 

Properties

>VPropertypublic\com\intuit\schema\finance\v3\IPPReferenceType $DiscountAccountRef
Details
Type
\com\intuit\schema\finance\v3\IPPReferenceType
Definition
Product: ALL Description: Income account used to track discounts received from vendors on purchases.  
XmlMinOccurs
0  
XmlName
DiscountAccountRef  
XmlNamespace
http://schema.intuit.com/finance/v3  
XmlType
element  
>VPropertypublicfloat $DiscountPercent
Details
Type
float
Definition
Product: ALL Description: Percentage by which the amount due is reduced, from 0% to 100%. To enter a discount of 8.5% use 8.5, not 0.085.  
XmlMinOccurs
0  
XmlName
DiscountPercent  
XmlNamespace
http://schema.intuit.com/finance/v3  
XmlType
element  
>VPropertypublic\com\intuit\schema\finance\v3\IPPReferenceType $DiscountRef
Details
Type
\com\intuit\schema\finance\v3\IPPReferenceType
Definition
Product: ALL Description: Discount used in calculating and applying the discount on the sales transaction paid.  
XmlMinOccurs
0  
XmlName
DiscountRef  
XmlNamespace
http://schema.intuit.com/finance/v3  
XmlType
element  
>VPropertypublicboolean $PercentBased
Details
Type
boolean
Definition
Product: ALL Description: True if the discount is a percentage; null or false if discount based on amount.  
XmlMinOccurs
0  
XmlName
PercentBased  
XmlNamespace
http://schema.intuit.com/finance/v3  
XmlType
element  

Methods

methodpublic__construct(\dictionary $keyValInitializers = array(), boolean $verbose = FALSE) : void

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.
Parameters
NameTypeDescription
$keyValInitializers\dictionary

key/value pairs to be populated into object's properties

$verboseboolean

specifies whether object should echo warnings

Documentation was generated by phpDocumentor 2.8.5.