IPPDiscountLineDetail.php
- Package
- Default
\IPPDiscountLineDetail
Package: Default








- Parent(s)
- \IPPDiscountOverride
- Inherited_from
- \IPPDiscountOverride
- IPPDiscountLineDetail
- \IPPDiscountLineDetail
- XmlDefinition
- Product: ALL Description: Discount detail for a transaction line. Product: QBO Description: Discount detail representing the total discount on a transaction.
- XmlName
- IPPDiscountLineDetail
- XmlNamespace
- http://schema.intuit.com/finance/v3
- XmlType
- DiscountOverride
Properties

\com\intuit\schema\finance\v3\IPPReferenceType $ClassRefDetails
- Type
- \com\intuit\schema\finance\v3\IPPReferenceType
- Definition
- Product: ALL Description: Reference to the Class for the discount.
- XmlMinOccurs
- 0
- XmlName
- ClassRef
- XmlNamespace
- http://schema.intuit.com/finance/v3
- XmlType
- element

\com\intuit\schema\finance\v3\IPPReferenceType $DiscountAccountRefDetails
- 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

\com\intuit\schema\finance\v3\IPPIntuitAnyType $DiscountLineDetailExDetails
- Type
- \com\intuit\schema\finance\v3\IPPIntuitAnyType
- Definition
- Product: ALL Description: Internal use only: extension place holder for DiscountDetail
- XmlMaxOccurs
- 1
- XmlMinOccurs
- 0
- XmlName
- DiscountLineDetailEx
- XmlNamespace
- http://schema.intuit.com/finance/v3
- XmlType
- element

float $DiscountPercentDetails
- 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

\com\intuit\schema\finance\v3\IPPReferenceType $DiscountRefDetails
- 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

boolean $PercentBasedDetails
- 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

string $ServiceDateDetails
- Type
- string
- Definition
- Product: ALL Description: Date when the service is performed.
- XmlMinOccurs
- 0
- XmlName
- ServiceDate
- XmlNamespace
- http://schema.intuit.com/finance/v3
- XmlType
- element
Methods

__construct(\dictionary $keyValInitializers = array(), boolean $verbose = FALSE) : voidInitializes 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| Name | Type | Description |
|---|---|---|
| $keyValInitializers | \dictionary | key/value pairs to be populated into object's properties |
| $verbose | boolean | specifies whether object should echo warnings |

__construct(\dictionary $keyValInitializers = array(), boolean $verbose = FALSE) : voidinherited
Initializes this object, optionally with pre-defined property values
Inherited from:Initializes this object and it's property members, using the dictionary
of key/value pairs passed as an optional argument.
Parameters| Name | Type | Description |
|---|---|---|
| $keyValInitializers | \dictionary | key/value pairs to be populated into object's properties |
| $verbose | boolean | specifies whether object should echo warnings |