Docs For Class TransactionType

## Class TransactionType

Description

TransactionType

Contains information about a single transaction. A transaction contains information about the sale of a particular item. The system creates a transaction when a buyer has made a purchase (Fixed Price items) or is the winning bidder (BIN and auction items). A listing can be associated with one or more transactions in these cases: Multi-Item Fixed Price Listings Dutch Auction Listings A listing is associated with a single transaction in these cases: Single-Item Fixed Price Listings Single-Item Auction Listings

Located in /PayPal/Type/TransactionType.php (line 24)

    XSDType
       |
       --TransactionType

Variable Summary
mixed $AmountPaid
mixed $AuthorizationID
mixed $Buyer
mixed $ConvertedAmountPaid
mixed $ConvertedTransactionPrice
mixed $CreatedDate
mixed $DepositType
mixed $Item
mixed $QuantityPurchased
mixed $ShippingDetails
mixed $ShippingHandlingTotal
mixed $Status
mixed $TransactionID
mixed $TransactionPrice
mixed $VATPercent
Method Summary
TransactionType TransactionType ()
void getAmountPaid ()
void getAuthorizationID ()
void getBuyer ()
void getConvertedAmountPaid ()
void getConvertedTransactionPrice ()
void getCreatedDate ()
void getDepositType ()
void getItem ()
void getQuantityPurchased ()
void getShippingDetails ()
void getShippingHandlingTotal ()
void getStatus ()
void getTransactionID ()
void getTransactionPrice ()
void getVATPercent ()
void setAmountPaid (mixed $AmountPaid, [mixed $charset = 'iso-8859-1'])
void setAuthorizationID (mixed $AuthorizationID, [mixed $charset = 'iso-8859-1'])
void setBuyer (mixed $Buyer, [mixed $charset = 'iso-8859-1'])
void setConvertedAmountPaid (mixed $ConvertedAmountPaid, [mixed $charset = 'iso-8859-1'])
void setConvertedTransactionPrice (mixed $ConvertedTransactionPrice, [mixed $charset = 'iso-8859-1'])
void setCreatedDate (mixed $CreatedDate, [mixed $charset = 'iso-8859-1'])
void setDepositType (mixed $DepositType, [mixed $charset = 'iso-8859-1'])
void setItem (mixed $Item, [mixed $charset = 'iso-8859-1'])
void setQuantityPurchased (mixed $QuantityPurchased, [mixed $charset = 'iso-8859-1'])
void setShippingDetails (mixed $ShippingDetails, [mixed $charset = 'iso-8859-1'])
void setShippingHandlingTotal (mixed $ShippingHandlingTotal, [mixed $charset = 'iso-8859-1'])
void setStatus (mixed $Status, [mixed $charset = 'iso-8859-1'])
void setTransactionID (mixed $TransactionID, [mixed $charset = 'iso-8859-1'])
void setTransactionPrice (mixed $TransactionPrice, [mixed $charset = 'iso-8859-1'])
void setVATPercent (mixed $VATPercent, [mixed $charset = 'iso-8859-1'])
Variables
mixed $AmountPaid (line 35)

The amount the buyer paid for the item or agreed to pay, depending on how far

into the checkout process the item is. If the seller allowed the buyer to change the item total, the buyer is able to change the total until the time that the transaction's status moves to Complete. Determine whether the buyer changed the amount by calling GetSellerTransactions or GetSellerTransactions and comparing the AmountPaid value to what the seller expected. For Motors items, AmountPaid is the amount paid by the buyer for the deposit.

mixed $AuthorizationID (line 102)

Unique identifier for an authorization.

mixed $Buyer (line 40)

Container for buyer data.

mixed $ConvertedAmountPaid (line 51)

Value returned in the Transaction/AmountPaid element, converted to the currency indicated by SiteCurrency.

mixed $ConvertedTransactionPrice (line 57)

Value returned in the Transaction/TransactionPrice element, converted to the currency indicated by SiteCurrency.

mixed $CreatedDate (line 64)

For fixed-price, Stores, and BIN items indicates when the purchase (or BIN) occurred. For all other item types indicates when the transaction was created (the time when checkout was initiated).

mixed $DepositType (line 70)

Deposit type for Motors items. If item is not a Motors item, then returns a

DepositType of None. Possible values: None Other Method Fast Deposit

mixed $Item (line 75)

Item info associated with the transaction.

mixed $QuantityPurchased (line 80)

Contains the number of individual items the buyer purchased in the transaction.

mixed $ShippingDetails (line 45)

Includes shipping payment data.

mixed $ShippingHandlingTotal (line 85)

Shipping cost totals shown to user (for both flat and calculated rates).

mixed $Status (line 90)

Container node for transaction status data.

mixed $TransactionID (line 97)

Unique identifier for a transaction. Returns 0 when Type=1 (Chinese auction).

Typically, an ItemID and a TransactionID uniquely identify a checkout transaction.

mixed $TransactionPrice (line 108)

Price of the item, before shipping and sales tax. For Motors, TransactionPrice is the deposit amount.

mixed $VATPercent (line 117)

VAT rate for the item, if the item price includes the VAT rate. Specify the

VATPercent if you want include the net price in addition to the gross price in the listing. VAT rates vary depending on the item and on the user's country of residence; therefore a business seller is responsible for entering the correct VAT rate (it will not be calculated by eBay).

#### Inherited Variables

Inherited from XSDType

> XSDType::$_attributes
> XSDType::$_attributeValues
> XSDType::$_elements
> XSDType::$_namespace

Methods
Constructor TransactionType (line 119)
TransactionType TransactionType ()
getAmountPaid (line 218)
void getAmountPaid ()
getAuthorizationID (line 326)
void getAuthorizationID ()
getBuyer (line 227)
void getBuyer ()
getConvertedAmountPaid (line 245)
void getConvertedAmountPaid ()
getConvertedTransactionPrice (line 254)
void getConvertedTransactionPrice ()
getCreatedDate (line 263)
void getCreatedDate ()
getDepositType (line 272)
void getDepositType ()
getItem (line 281)
void getItem ()
getQuantityPurchased (line 290)
void getQuantityPurchased ()
getShippingDetails (line 236)
void getShippingDetails ()
getShippingHandlingTotal (line 299)
void getShippingHandlingTotal ()
getStatus (line 308)
void getStatus ()
getTransactionID (line 317)
void getTransactionID ()
getTransactionPrice (line 335)
void getTransactionPrice ()
getVATPercent (line 344)
void getVATPercent ()
setAmountPaid (line 222)
void setAmountPaid (mixed $AmountPaid, [mixed $charset = 'iso-8859-1'])
setAuthorizationID (line 330)
void setAuthorizationID (mixed $AuthorizationID, [mixed $charset = 'iso-8859-1'])
setBuyer (line 231)
void setBuyer (mixed $Buyer, [mixed $charset = 'iso-8859-1'])
setConvertedAmountPaid (line 249)
void setConvertedAmountPaid (mixed $ConvertedAmountPaid, [mixed $charset = 'iso-8859-1'])
setConvertedTransactionPrice (line 258)
void setConvertedTransactionPrice (mixed $ConvertedTransactionPrice, [mixed $charset = 'iso-8859-1'])
setCreatedDate (line 267)
void setCreatedDate (mixed $CreatedDate, [mixed $charset = 'iso-8859-1'])
setDepositType (line 276)
void setDepositType (mixed $DepositType, [mixed $charset = 'iso-8859-1'])
setItem (line 285)
void setItem (mixed $Item, [mixed $charset = 'iso-8859-1'])
setQuantityPurchased (line 294)
void setQuantityPurchased (mixed $QuantityPurchased, [mixed $charset = 'iso-8859-1'])
setShippingDetails (line 240)
void setShippingDetails (mixed $ShippingDetails, [mixed $charset = 'iso-8859-1'])
setShippingHandlingTotal (line 303)
void setShippingHandlingTotal (mixed $ShippingHandlingTotal, [mixed $charset = 'iso-8859-1'])
setStatus (line 312)
void setStatus (mixed $Status, [mixed $charset = 'iso-8859-1'])
setTransactionID (line 321)
void setTransactionID (mixed $TransactionID, [mixed $charset = 'iso-8859-1'])
setTransactionPrice (line 339)
void setTransactionPrice (mixed $TransactionPrice, [mixed $charset = 'iso-8859-1'])
setVATPercent (line 348)
void setVATPercent (mixed $VATPercent, [mixed $charset = 'iso-8859-1'])

#### Inherited Methods

Inherited From XSDType

> XSDType::XSDType()
> XSDType::getattr()
> XSDType::getSoapValue()
> XSDType::setattr()
> XSDType::__set_attribute()

Documentation generated on Thu, 11 May 2006 22:39:23 -0400 by phpDocumentor 1.3.0RC3