NAME

eBay::API::XML::DataType::AccountEntryType

DESCRIPTION

Contains the data for a single account detail entry. Each detail entry is a transaction posted to the account and may be: a credit, a debit, or an administrative action (such as an update putting a credit card on file for the account). You can uniquely identify the entries that the GetAccount call returns within the AccountEntries tag. Specifically, the following fields, returned within the AccountEntries tag, can be used in combination as a unique key: AccountEntry.Date, AccountEntry.AccountDetailsEntryType, AccountEntry.ItemID, and AccountEntry.RefNumber.

SYNOPSIS

INHERITANCE

eBay::API::XML::DataType::AccountEntryType inherits from the eBay::API::XML::BaseDataType class

Subroutines:

setAccountDetailsEntryType()

Indicates the type of transaction or reason for the transaction. For example, a value of FeeGallery indicates a debit for listing an item in the Gallery. Possible values are enumerated in the AccountDetailEntryCodeType code list.

# Argument: 'ns:AccountDetailEntryCodeType'

getAccountDetailsEntryType()

  Calls: GetAccount
  Returned: Conditionally

# Returns: 'ns:AccountDetailEntryCodeType'

setBalance()

Balance after the account entry's credit or debit amount has been applied. Can be 0.00. The value is positive for debits and negative for credits.

# Argument: 'ns:AmountType'

getBalance()

  Calls: GetAccount
  Returned: Conditionally

# Returns: 'ns:AmountType'

setDate()

Date entry was posted to the account, in GMT. (Also see the Data Types appendix for more information on how GMT dates are handled in SOAP.)

# Argument: 'xs:dateTime'

getDate()

  Calls: GetAccount
  Returned: Conditionally

# Returns: 'xs:dateTime'

setDescription()

A description of the transaction.

# Argument: 'xs:string'

getDescription()

  Calls: GetAccount
  Returned: Conditionally

# Returns: 'xs:string'

setGrossDetailAmount()

Gross fees that are assessed by eBay (net fees plus VAT, if any). Returned even if VAT does not apply. The value is positive for debits and negative for credits.

# Argument: 'ns:AmountType'

getGrossDetailAmount()

  Calls: GetAccount
  Returned: Conditionally

# Returns: 'ns:AmountType'

setItemID()

Item ID (if the account detail entry is associated with an item listing) or 0 (if no item listing is associated with the account entry).

MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits)

# Argument: 'ns:ItemIDType'

getItemID()

  Calls: GetAccount
  Returned: Conditionally

# Returns: 'ns:ItemIDType'

setMemo()

Memo line for the account entry, can be an empty string.

# Argument: 'xs:string'

getMemo()

  Calls: GetAccount
  Returned: Conditionally

# Returns: 'xs:string'

setNetDetailAmount()

Net fees that are assessed by eBay, excluding additional surchargesand VAT (if any). Returned even if VAT does not apply. The value is positive for debits (user pays eBay) and negative for credits (eBay pays user).

# Argument: 'ns:AmountType'

getNetDetailAmount()

  Calls: GetAccount
  Returned: Conditionally

# Returns: 'ns:AmountType'

setRefNumber()

eBay reference number for the account entry. May return no value for some account transactions, such as an administrative action like placing the user's credit card on file. You can uniquely identify the entries that the GetAccount call returns within the AccountEntries tag. Specifically, the following fields, returned within the AccountEntries tag, can be used in combination as a unique key: AccountEntry.Date, AccountEntry.AccountDetailsEntryType, AccountEntry.ItemID, and AccountEntry.RefNumber.

# Argument: 'xs:string'

getRefNumber()

  Calls: GetAccount
  Returned: Conditionally

# Returns: 'xs:string'

setTitle()

Title of the entry.

# Argument: 'xs:string'

getTitle()

  Calls: GetAccount
  Returned: Conditionally

# Returns: 'xs:string'

setVATPercent()

VAT rate for the item. When the VATPercent is specified, the item's VAT information appears on the item's listing page. In addition, the seller can choose to print an invoice that includes the item's net price, VAT percent, VAT amount, and total price. Since VAT rates vary depending on the item and on the user's country of residence, a seller is responsible for entering the correct VAT rate; it is not calculated by eBay. To specify a VATPercent, a seller must have a VAT-ID registered with eBay and must be listing the item on a VAT-enabled site. Max precision 3 decimal places. Max length 5 characters. Note: The View Item page displays the precision to 2 decimal places with no trailing zeros. However, the full value you send in is stored. Returned for all users, not just VAT users, with GetAccountResponse.

# Argument: 'xs:decimal'

getVATPercent()

  Calls: GetAccount
  Returned: Conditionally

# Returns: 'xs:decimal'