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
   |
   --XSDSimpleType
      |
      --TransactionType
Variable Summary
Method Summary
TransactionType TransactionType ()
void getAmountPaid ()
void getBuyer ()
void getCreatedDate ()
void getDepositType ()
void getItem ()
void getStatus ()
void getVATPercent ()
void setAmountPaid ( $AmountPaid, [ $charset = 'iso-8859-1'])
void setAuthorizationID ( $AuthorizationID, [ $charset = 'iso-8859-1'])
void setBuyer ( $Buyer, [ $charset = 'iso-8859-1'])
void setConvertedAmountPaid ( $ConvertedAmountPaid, [ $charset = 'iso-8859-1'])
void setConvertedTransactionPrice ( $ConvertedTransactionPrice, [ $charset = 'iso-8859-1'])
void setCreatedDate ( $CreatedDate, [ $charset = 'iso-8859-1'])
void setDepositType ( $DepositType, [ $charset = 'iso-8859-1'])
void setItem ( $Item, [ $charset = 'iso-8859-1'])
void setQuantityPurchased ( $QuantityPurchased, [ $charset = 'iso-8859-1'])
void setShippingDetails ( $ShippingDetails, [ $charset = 'iso-8859-1'])
void setShippingHandlingTotal ( $ShippingHandlingTotal, [ $charset = 'iso-8859-1'])
void setStatus ( $Status, [ $charset = 'iso-8859-1'])
void setTransactionID ( $TransactionID, [ $charset = 'iso-8859-1'])
void setTransactionPrice ( $TransactionPrice, [ $charset = 'iso-8859-1'])
void setVATPercent ( $VATPercent, [ $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 XSDSimpleType

XSDSimpleType::$_charset
XSDSimpleType::$_value

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 ( $AmountPaid, [ $charset = 'iso-8859-1'])
  • $AmountPaid
  • $charset
setAuthorizationID (line 330)
void setAuthorizationID ( $AuthorizationID, [ $charset = 'iso-8859-1'])
  • $AuthorizationID
  • $charset
setBuyer (line 231)
void setBuyer ( $Buyer, [ $charset = 'iso-8859-1'])
  • $Buyer
  • $charset
setConvertedAmountPaid (line 249)
void setConvertedAmountPaid ( $ConvertedAmountPaid, [ $charset = 'iso-8859-1'])
  • $ConvertedAmountPaid
  • $charset
setConvertedTransactionPrice (line 258)
void setConvertedTransactionPrice ( $ConvertedTransactionPrice, [ $charset = 'iso-8859-1'])
  • $ConvertedTransactionPrice
  • $charset
setCreatedDate (line 267)
void setCreatedDate ( $CreatedDate, [ $charset = 'iso-8859-1'])
  • $CreatedDate
  • $charset
setDepositType (line 276)
void setDepositType ( $DepositType, [ $charset = 'iso-8859-1'])
  • $DepositType
  • $charset
setItem (line 285)
void setItem ( $Item, [ $charset = 'iso-8859-1'])
  • $Item
  • $charset
setQuantityPurchased (line 294)
void setQuantityPurchased ( $QuantityPurchased, [ $charset = 'iso-8859-1'])
  • $QuantityPurchased
  • $charset
setShippingDetails (line 240)
void setShippingDetails ( $ShippingDetails, [ $charset = 'iso-8859-1'])
  • $ShippingDetails
  • $charset
setShippingHandlingTotal (line 303)
void setShippingHandlingTotal ( $ShippingHandlingTotal, [ $charset = 'iso-8859-1'])
  • $ShippingHandlingTotal
  • $charset
setStatus (line 312)
void setStatus ( $Status, [ $charset = 'iso-8859-1'])
  • $Status
  • $charset
setTransactionID (line 321)
void setTransactionID ( $TransactionID, [ $charset = 'iso-8859-1'])
  • $TransactionID
  • $charset
setTransactionPrice (line 339)
void setTransactionPrice ( $TransactionPrice, [ $charset = 'iso-8859-1'])
  • $TransactionPrice
  • $charset
setVATPercent (line 348)
void setVATPercent ( $VATPercent, [ $charset = 'iso-8859-1'])
  • $VATPercent
  • $charset

Inherited Methods

Inherited From XSDSimpleType

XSDSimpleType::XSDSimpleType()
XSDSimpleType::getSoapValue()
XSDSimpleType::setval()

Inherited From XSDType

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

Documentation generated on Fri, 15 Oct 2010 06:21:18 +0000 by phpDocumentor 1.4.3