Component 
SUMMARY: XML REP | DERIVED | USE
DETAIL: DESC | XML SRC | TYPE
eBay Trading API

simpleType "ns:AccountHistorySelectionCodeType"
Namespace:
Defined:
globally in Schema in ebaySvc.wsdl; see XML source
Used:
Simple Content Model
enumeration of xs:token
Simple Content Restrictions:
Enumeration:
"LastInvoice"
 - 
This value should be used if the eBay user wants to see the account entries posted to the last invoice that was sent to the user by eBay. If this value is used, the InvoiceDate, BeginDate, and EndDate fields of the GetAccount request are no longer applicable and will be ignored if they are included in the call request.
"SpecifiedInvoice"
 - 
This value should be used if the eBay user wants to see the account entries for a specific invoice that was sent to the user by eBay. If this value is used, the specific invoice is identified by including the InvoiceDate field and setting its value to the actual invoice date. If this value is used, the BeginDate, and EndDate fields of the GetAccount request are no longer applicable and will be ignored if they are included in the call request.
"BetweenSpecifiedDates"
 - 
This value should be used if the eBay user wants to see account entries for a customized date range that can overlap multiple formal eBay invoices. If this value is used, then you also must specify BeginDate and EndDate to set the date range for which to retrieve account entries. If this value is used, then InvoiceDate is no longer applicable and will be ignored if it is included in the call request.
"OrderId"
 - 
This value should be used if the eBay user wants to see the account entries related to a specific eBay order. If this value is used, the user must also include the OrderID field and sets its value to the identifier of the order for which they wish to retrieve account entries.

Note: In June 2019, eBay introduced a new order ID format, but allowed developers/sellers to decide whether to immediately adopt the new format, or to continue working with the old format. Users who wanted to adopt the new format, could either use a Trading WSDL Version 1113 (or newer), or they could even use an older Trading WSDL but set the X-EBAY-API-COMPATIBILITY-LEVEL HTTP header value to 1113 in API calls. Beginning in June 2020, only the new order ID format will be returned in response payloads for paid orders, regardless of the WSDL version number or compatibility level.

Note that the unique identifier of a 'non-immediate payment' order will change as it goes from an unpaid order to a paid order. Due to this scenario, all calls that accept Order ID values as filters in the request payload, including the GetAccount call, will support the identifiers for both unpaid and paid orders. The new order ID format is a non-parsable string, globally unique across all eBay marketplaces, and consistent for both single line item and multiple line item orders. Unlike in the past, instead of just being known and exposed to the seller, these unique order identifiers will also be known and used/referenced by the buyer and eBay customer support.

Sellers can check to see if an order has been paid by looking for a value of 'Complete' in the CheckoutStatus.Status field in the response of GetOrders or GetOrderTransactions call, or in the Status.CompleteStatus field in the response of GetItemTransactions or GetSellerTransactions call. Sellers should not fulfill orders until buyer has made payment.
"CustomCode"
 - 
(out) Reserved for internal or future use.

All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
This enumerated type contains the suppported values that may be used in the AccountHistorySelection field to control the account entries that are returned in a GetAccount response.
Type Definition Detail
Type Derivation Tree
xs:token (restriction)
  ns:AccountHistorySelectionCodeType
Derivation:
restriction of xs:token
XML Source (w/o annotations (6); see within schema source)
<xs:simpleType name="AccountHistorySelectionCodeType">
<xs:restriction base="xs:token">
<xs:enumeration value="LastInvoice"/>
<xs:enumeration value="SpecifiedInvoice"/>
<xs:enumeration value="BetweenSpecifiedDates"/>
<xs:enumeration value="OrderId"/>
<xs:enumeration value="CustomCode"/>
</xs:restriction>
</xs:simpleType>

 Component 
SUMMARY: XML REP | DERIVED | USE
DETAIL: DESC | XML SRC | TYPE
eBay Trading API

WSDL documentation generated with FlexDoc/XML 1.13 using FlexDoc/XML WSDLDoc 1.2.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.