<?xml version="1.0" encoding="UTF-8"?>
<definitions name="PayoutDetailsService" targetNamespace="http://www.ebay.com/marketplace/fundstatus/v1/services" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:tns="http://www.ebay.com/marketplace/fundstatus/v1/services" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
  <types>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.ebay.com/marketplace/fundstatus/v1/services" xmlns:tns="http://www.ebay.com/marketplace/fundstatus/v1/services">
		
		<!-- getOrderPayoutDetailsRequest -->
		<xs:element name="getOrderPayoutDetailsRequest" type="tns:GetOrderPayoutDetailsRequest"/>
		<xs:complexType name="GetOrderPayoutDetailsRequest">
			<xs:annotation>
				<xs:documentation>
					Upon passing in an eBay Order ID, this call retrieves detailed information on one
					or more seller payouts related to the eBay order. Beginning in late August 2011,
					sellers who are new to listing on the German and Austrian sites will be subject
					to a new payment process.
				</xs:documentation>
			</xs:annotation>
			<xs:complexContent>
				<xs:extension base="tns:BaseRequest">
					<xs:sequence>
						<xs:element minOccurs="1" name="orderId" type="tns:OrderIdType">
							<xs:annotation>
								<xs:documentation>
									Container consisting of the unique identifier for an eBay order. 
								</xs:documentation>
								<xs:appinfo>
									<CallInfo>
										<CallName>getOrderPayoutDetails</CallName>
										<RequiredInput>Yes</RequiredInput>
									</CallInfo>
								</xs:appinfo>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
		
		<xs:complexType name="OrderIdType">
			<xs:annotation>
				<xs:documentation>
					Type that defines the orderId container, which consists of the eBay order ID.
				</xs:documentation>
				<xs:appinfo>
					<CallInfo>
						<CallName>getOrderPayoutDetails</CallName>
						<RequiredInput>Yes</RequiredInput>
					</CallInfo>
				</xs:appinfo>
			</xs:annotation>
	    	<xs:sequence>
				<xs:element minOccurs="1" name="id" type="xs:string">
					<xs:annotation>
						<xs:documentation>
							A unique identifier of an eBay order. This field will accept an eBay OrderID
							value (generated by eBay when a Combined Payment order is created) or an
							OrderLineItemID value, which is a concatenation of ItemID and TransactionID
							with a hyphen separating these two IDs. See the Trading API documentation for
							more information on eBay orders.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
								<RequiredInput>Yes</RequiredInput>
							</CallInfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
								<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
		
		<!-- getOrderPayoutDetailsResponse -->
		<xs:element name="getOrderPayoutDetailsResponse" type="tns:GetOrderPayoutDetailsResponse"/>
		<xs:complexType name="GetOrderPayoutDetailsResponse">
			<xs:annotation>
				<xs:documentation>
					The response for the getOrderPayoutDetails call. Detailed information 
					of all the payouts matching the input criteria is returned.
				</xs:documentation>
			</xs:annotation>
			<xs:complexContent>
				<xs:extension base="tns:BaseResponse">
					<xs:sequence>
						<xs:element maxOccurs="unbounded" minOccurs="0" name="payoutDetail" type="tns:PayoutDetailType">
							<xs:annotation>
								<xs:documentation>
									Root container of the getOrderPayoutDetails and getPayoutDetails
									responses.
				    		</xs:documentation>
				    		<xs:appinfo>
									<CallInfo>
										<CallName>getOrderPayoutDetails</CallName>
										<CallName>getPayoutDetails</CallName>
										<Returned>Always</Returned>
									</CallInfo>
								</xs:appinfo>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
		
		<xs:complexType name="PayoutDetailType">
			<xs:annotation>
				<xs:documentation>
					Type that defines the payoutDetail container, which is the root container of the
					getOrderPayoutDetails and getPayoutDetails responses.
    		</xs:documentation>
    		<xs:appinfo>
					<CallInfo>
						<CallName>getOrderPayoutDetails</CallName>
						<CallName>getPayoutDetails</CallName>
						<Returned>Always</Returned>
					</CallInfo>
				</xs:appinfo>
    	</xs:annotation>
			<xs:sequence>
				<xs:element minOccurs="1" name="payoutId" type="xs:string">
				<xs:annotation>
					<xs:documentation>
						The unique identifier of a seller payout.
					</xs:documentation>
					<xs:appinfo>
						<CallInfo>
							<CallName>getOrderPayoutDetails</CallName>
							<CallName>getPayoutDetails</CallName>
							<Returned>Always</Returned>
						</CallInfo>
					</xs:appinfo>
				</xs:annotation>
				</xs:element>
	            <xs:element minOccurs="1" name="actualPayoutAmount" type="tns:Amount">
					<xs:annotation>
						<xs:documentation>
							The payout amount to the seller. This value may be less than the order amount
							if the seller issued a partial refund to the buyer.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
								<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="1" name="payoutDate" type="xs:dateTime">
					<xs:annotation>
						<xs:documentation>
							Timestamp indicating the date and time when the payout was made
							to the seller.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
								<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="1" name="payoutStatus" type="tns:PayoutStatusType">
					<xs:annotation>
						<xs:documentation>
							Enumeration value indicating the status of the payout to the
							seller.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
								<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="1" name="payoutAccountDetail" type="tns:PayoutAccountDetailType">
					<xs:annotation>
						<xs:documentation>
							Container consisting of the seller's account type and account number. 
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
								<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element maxOccurs="unbounded" minOccurs="0" name="caseFund" type="tns:CaseFundType">
					<xs:annotation>
						<xs:documentation>
							Container consisting of information on an eBay Buyer Protection case or other
							buyer dispute tied to the eBay order. This container is only returned if
							there is an eBay Buyer Protection case or dispute filed against the order.
							There can be multiple caseFund containers returned if there is more than one
							case or dispute filed against the order. For more information on eBay Buyer
							Protection cases, see the Resolution Case Management API documentation.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
								<CallName>getPayoutDetails</CallName>
								<Returned>Conditionally</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element maxOccurs="unbounded" minOccurs="1" name="orderPayoutDetailType" type="tns:OrderPayoutDetailType">
					<xs:annotation>
						<xs:documentation>
							Container consisting of detailed payout information for an eBay order.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
								<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
		
    	<xs:complexType name="CaseFundType">
    		<xs:annotation>
				<xs:documentation>
					Type defining the caseFund container. 
				</xs:documentation>
			</xs:annotation>
	        <xs:sequence>
	          <xs:element minOccurs="0" name="caseId" type="tns:CaseIdType">
	            <xs:annotation>
	            	<xs:documentation>
	                The unique identifier of the eBay Buyer Protection case. This field is
									always returned with the caseFund container.
	              </xs:documentation>
	              <xs:appinfo>
				  				<CallInfo>
										<CallName>getOrderPayoutDetails</CallName>
										<CallName>getPayoutDetails</CallName>
										<Returned>Conditionally</Returned>
									</CallInfo>
								</xs:appinfo>
	            </xs:annotation>
	          </xs:element>
	          <xs:element minOccurs="0" name="caseFundAmount" type="tns:Amount">
	            <xs:annotation>
	            	<xs:documentation>
	                	The monetary amount involved in the eBay Buyer Protection case between
										the buyer and seller. This field is always returned with the caseFund
										container.
	              </xs:documentation>
	              <xs:appinfo>
				  				<CallInfo>
										<CallName>getOrderPayoutDetails</CallName>
										<CallName>getPayoutDetails</CallName>
										<Returned>Conditionally</Returned>
									</CallInfo>
								</xs:appinfo>
	            </xs:annotation>
	          </xs:element>
	        </xs:sequence>
      	</xs:complexType>

      	<xs:complexType name="CaseIdType">
	        <xs:annotation>
	          <xs:documentation>
	            Type that defines the caseId container, which consists of a case ID and case
							type that uniquely identifies a case.
	          </xs:documentation>
	        </xs:annotation>
	        <xs:sequence>
	          <xs:element name="id" type="xs:string">
	            <xs:annotation>
	              <xs:documentation>
	                Unique identifier of the eBay Buyer Protection case.
	              </xs:documentation>
	              <xs:appinfo>
	                <maxLength>38</maxLength>
	                <callInfo>
	                  <CallName>getOrderPayoutDetails</CallName>
					  				<CallName>getPayoutDetails</CallName>
	                  <returned>Conditionally</returned>
	                </callInfo>
	              </xs:appinfo>
	            </xs:annotation>
	          </xs:element>
	          <xs:element name="type" type="tns:CaseType">
	            <xs:annotation>
	              <xs:documentation>
	                The type of case or dispute. The two most common case types are EBP_INR
									and EBP_SNAD. These two values represent an Item Not Received case and a
									Significantly Not As Described case, respectively, filed by the buyer in the
									eBay Buyer Protection system. For more information on case types, see the
									Resolution Case Management API documentation.
	              </xs:documentation>
	              <xs:appinfo>
	                <callInfo>
	                  <CallName>getOrderPayoutDetails</CallName>
					  				<CallName>getPayoutDetails</CallName>
	                  <returned>Conditionally</returned>
	                </callInfo>
	              </xs:appinfo>
	            </xs:annotation>
	          </xs:element>
	        </xs:sequence>
      	</xs:complexType>

      	<xs:simpleType name="CaseType">
	        <xs:annotation>
	          <xs:documentation>
	            Type that defines the type element.
	          </xs:documentation>
	          <xs:appinfo>
							<callInfo>
								<CallName>getOrderPayoutDetails</CallName>
								<CallName>getPayoutDetails</CallName>
								<returned>Conditionally</returned>
							</callInfo>
	           </xs:appinfo>
	        </xs:annotation>
	        <xs:restriction base="xs:string">
	        </xs:restriction>
      	</xs:simpleType>
		
		<xs:simpleType name="PayoutStatusType">
			<xs:annotation>
				<xs:documentation>
					Enumerated type that defines the possible values for the status of a payout
					to a seller.
				</xs:documentation>
			</xs:annotation>
			<xs:restriction base="xs:token">
				<xs:enumeration value="PayoutSent">
					<xs:annotation>
						<xs:documentation>
							The payout amount has been disbursed by eBay, and is en route to the seller's
							account.
						</xs:documentation>
					</xs:annotation>
				</xs:enumeration>
				<xs:enumeration value="PaidOut">
					<xs:annotation>
						<xs:documentation>
							The payout amount has been deposited into the seller's account.
						</xs:documentation>
					</xs:annotation>
				</xs:enumeration>
			</xs:restriction>
		</xs:simpleType>
		
		<xs:complexType name="PayoutAccountDetailType">
	    	<xs:sequence>
				<xs:element minOccurs="1" name="payoutAccountType" type="tns:PayoutAccountType">
					<xs:annotation>
						<xs:documentation>
							Type defining the payoutAccountDetail container.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
					  		<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
	            <xs:element minOccurs="0" name="payoutAccountNumber" type="xs:string">
	            	<xs:annotation>
						<xs:documentation>
							The seller's account number. 
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
					  		<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>

	    <xs:simpleType name="PayoutAccountType">
	        <xs:annotation>
	          <xs:documentation>
	            The seller's account type.
	          </xs:documentation>
	        </xs:annotation>
	        <xs:restriction base="xs:string">
	        </xs:restriction>
	     </xs:simpleType>
      
		<xs:complexType name="OrderPayoutDetailType">
			<xs:annotation>
				<xs:documentation>
					Type that defines the orderPayoutDetail container, which contains detailed
					information on the order subject to the seller payout.
			   </xs:documentation>
			   <xs:appinfo>
						<CallInfo>
							<CallName>getOrderPayoutDetails</CallName>
							<CallName>getPayoutDetails</CallName>
							<Returned>Always</Returned>
						</CallInfo>
					</xs:appinfo>
    	</xs:annotation>
	    	<xs:sequence>
				<xs:element minOccurs="1" name="orderDetail" type="tns:OrderDetailType">
					<xs:annotation>
						<xs:documentation>
							Container consisting of details about the eBay order, including the orderId,
							the order amount, and refund amount (if any).
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
					  		<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
	      <xs:element minOccurs="1" name="multiplePayouts" type="xs:boolean">
	        <xs:annotation>
						<xs:documentation>
							A flag that indicates whether or not an eBay order has multiple payouts to
							the seller. A True value indicates that the order has multiple payouts.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
								<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="1" name="orderPayoutAmount" type="tns:Amount">
	        <xs:annotation>
						<xs:documentation>
							 The monetary amount of the seller payout.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
					  		<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
		
		<xs:complexType name="OrderDetailType">
			<xs:annotation>
				<xs:documentation>
					Type that defines the orderDetail container, which contains detailed
					information on the eBay order.
				</xs:documentation>
				<xs:appinfo>
					<CallInfo>
						<CallName>getOrderPayoutDetails</CallName>
						<CallName>getPayoutDetails</CallName>
						<Returned>Always</Returned>
					</CallInfo>
				</xs:appinfo>
    	</xs:annotation>
	    	<xs:sequence>
				<xs:element minOccurs="1" name="orderId" type="tns:OrderIdType">
					<xs:annotation>
						<xs:documentation>
							The unique identifier of the eBay order.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
					  		<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
	      <xs:element minOccurs="0" name="orderAmount" type="tns:Amount">
	        <xs:annotation>
						<xs:documentation>
							The monetary amount of the eBay order.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
					  		<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="0" name="buyerId" type="xs:string">
					<xs:annotation>
						<xs:documentation>
							The eBay user ID of the order's buyer.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
					  		<CallName>getPayoutDetails</CallName>
								<Returned>Conditionally</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="0" name="refundAmount" type="tns:Amount">
	        <xs:annotation>
						<xs:documentation>
							The monetary amount of any refund from the seller to the buyer. This field is
							only returned if a full or partial refund was issued by the seller to the
							buyer.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
					  		<CallName>getPayoutDetails</CallName>
								<Returned>Conditionally</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element maxOccurs="unbounded" minOccurs="0" name="transactionDetail" type="tns:TransactionDetailType">
					<xs:annotation>
						<xs:documentation>
							Container consisting of an order line item's title, itemId, and transactionId.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
					  		<CallName>getPayoutDetails</CallName>
								<Returned>Conditionally</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
		
		<xs:complexType name="TransactionDetailType">
	    <xs:annotation>
				<xs:documentation>
					Type that defines the transactionDetail container, which contains
					information on the eBay order line item.
				</xs:documentation>
				<xs:appinfo>
					<CallInfo>
						<CallName>getOrderPayoutDetails</CallName>
						<CallName>getPayoutDetails</CallName>
						<Returned>Always</Returned>
					</CallInfo>
				</xs:appinfo>
    	</xs:annotation>
	    <xs:sequence>
				<xs:element minOccurs="0" name="transactionId" type="xs:string">
					<xs:annotation>
						<xs:documentation>
							The unique identifier of the order line item (transaction).
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
					  		<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
	      <xs:element minOccurs="0" name="itemId" type="xs:string">
	        <xs:annotation>
						<xs:documentation>
							The unique identifier of the eBay item.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
					  		<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="0" name="itemTitle" type="xs:string">
	        <xs:annotation>
						<xs:documentation>
							The title of the eBay item.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getOrderPayoutDetails</CallName>
					  		<CallName>getPayoutDetails</CallName>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
		
		<!-- getPayoutDetailsRequest -->
		<xs:element name="getPayoutDetailsRequest" type="tns:GetPayoutDetailsRequest"/>
		<xs:complexType name="GetPayoutDetailsRequest">
			<xs:annotation>
				<xs:documentation>
					Upon passing in one or more payout IDs or a date range, this call retrieves
					detailed information on one or more seller payouts. Beginning in late August
					2011, sellers who are new to listing on the German and Austrian sites will be
					subject to a new payment process.
				</xs:documentation>
			</xs:annotation>
			<xs:complexContent>
				<xs:extension base="tns:BaseRequest">
					<xs:sequence>
						<xs:element minOccurs="0" name="payoutIdArray" type="tns:PayoutIdArrayType" >
							<xs:annotation>
								<xs:documentation>
									A container consisting of one or more payout IDs. In the getPayoutDetails
									call, the caller has the option of using either one or more payout IDs or
									a date range as a filter, but not both filter types.
								</xs:documentation>
								<xs:appinfo>
									<CallInfo>
										<CallName>getPayoutDetails</CallName>
										<RequiredInput>Conditionally</RequiredInput>
									</CallInfo>
								</xs:appinfo>
							</xs:annotation>
						</xs:element>
						<xs:element minOccurs="0" name="payoutDateRange" type="tns:DateRangeType">
							<xs:annotation>
								<xs:documentation>
									A container consisting of a date range that acts as a filter to restrict
									results to seller payouts disbursed within a specified period. The
									specified date range is inclusive. The maximum date range that can be
									specified with this filter is 90 days. In the getPayoutDetails call, the
									caller has the option of using either one or more payout IDs or a date
									range as a filter, but not both filter types. The payoutDateRange
									container is ignored if one or more payout IDs are passed in through the
									payoutIdArray container.
								</xs:documentation>
								<xs:appinfo>
									<CallInfo>
										<CallName>getPayoutDetails</CallName>
										<RequiredInput>Conditionally</RequiredInput>
									</CallInfo>
								</xs:appinfo>
							</xs:annotation>
						</xs:element> 
						<xs:element minOccurs="0" name="paginationInput" type="tns:PaginationInput" >
							<xs:annotation>
								<xs:documentation>
									Container used to control the pagination of the result set, including the
									number of seller payouts returned per page and the page number you want
									returned in the output.
								</xs:documentation>
								<xs:appinfo>
									<callInfo>
										<callName>getPayoutDetails</callName>
										<requiredInput>No</requiredInput>
									</callInfo>
								</xs:appinfo>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
		
		<xs:complexType name="PayoutIdArrayType">
			<xs:annotation>
				<xs:documentation>
					Type that defines the payoutIdArray container, which is used to specify one or
					more payout IDs.
	      </xs:documentation>
	      <xs:appinfo>
					<CallInfo>
						<CallName>getPayoutDetails</CallName>
						<RequiredInput>Conditionally</RequiredInput>
					</CallInfo>
				</xs:appinfo>
			</xs:annotation>
			<xs:sequence>
				<xs:element maxOccurs="unbounded" minOccurs="1" name="payoutId" type="xs:string">
					<xs:annotation>
						<xs:documentation>
							A unique identifier for a seller payout.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<CallName>getPayoutDetails</CallName>
								<RequiredInput>Conditionally</RequiredInput>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
		
		<xs:complexType name="DateRangeType">
			<xs:annotation>
				<xs:documentation>
					Type that defines the payoutDateRange contianer, which is used to restrict seller
					payouts to a specifed date range.
				</xs:documentation>
				<xs:appinfo>
					<CallInfo>
						<CallName>getPayoutDetails</CallName>
						<RequiredInput>No</RequiredInput>
					</CallInfo>
				</xs:appinfo>
			</xs:annotation>
			<xs:sequence>
				<xs:element minOccurs="1" name="fromDate" type="xs:dateTime" >
					<xs:annotation>
						<xs:documentation>
							The starting date for the date range. The fromDate must be older than the
							toDate, and it cannot be set back more than 18 months in the past. This field
							is required if the payoutDateRange container is used.
						</xs:documentation>
						<xs:appinfo>
							<callInfo>
								<callName>getPayoutDetails</callName>
								<requiredInput>Conditionally</requiredInput>
							</callInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="0" name="toDate" type="xs:dateTime" > 
					<xs:annotation>
						<xs:documentation>
							The ending date for the date range. The toDate must be more recent than the
							fromDate. This field is optional. If it is omitted, all seller payouts
							processed from the fromDate up to the present (system date) are returned,
							unless the range specified by the fromDate and the present date is greater
							than 90 days, in which case the toDate defaults to 90 days forward from the
							fromDate.
						</xs:documentation>
							<xs:appinfo>
								<callInfo>
									<callName>getPayoutDetails</callName>
									<requiredInput>Conditionally</requiredInput>
								</callInfo>
							</xs:appinfo>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
		
		<xs:complexType name="PaginationInput">
			<xs:annotation>
				<xs:documentation>
					This type defines the PaginationInput container used to control the number of
					seller payouts returned per page, and which page of results to return in the
					response.
				</xs:documentation>
				<xs:appinfo>
					<typeLibrarySource library="MarketPlaceServiceCommonTypeLibrary" namespace="http://www.ebay.com/marketplace/services"/>
				</xs:appinfo>
			</xs:annotation>
			<xs:sequence>
				<xs:element minOccurs="0" name="pageNumber" type="xs:int">
					<xs:annotation>
						<xs:documentation>
						Specifies which page of seller payouts to return in the response. The total
						number of result pages is determined by the total number of seller payouts
						matching the input criteria divided by the number of seller payouts to display
						in each page. The total number of cases is returned in the &lt;b&gt;
						paginationOutput.totalEntries&lt;/b&gt; field of the &lt;b&gt;getUserCases&lt;
						/b&gt; response. The cases to display per page is set with the &lt;b&gt;
						paginationInput.entriesPerPage&lt;/b&gt; field. If there are multiple result
						pages returned, subsequent calls can be made with all of the same input
						parameters, except for the &lt;b&gt;pageNumber&lt;/b&gt; field, which is
						incremented by a value of 1 each time so that each subsequent page may be
						viewed and/or handled.
						</xs:documentation>
						<xs:appinfo>
							<min>1</min>
							<default>1</default>
							<callInfo>
								<callName>getPayoutDetails</callName>
								<requiredInput>Conditionally</requiredInput>
							</callInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="0" name="entriesPerPage" type="xs:int" >
					<xs:annotation>
						<xs:documentation>
							Specifies the maximum number of payouts to return in one page of results in
							the response. If the number of payouts that can be returned is less than the
							value in entriesPerPage, then the lower number is returned.
						</xs:documentation>
						<xs:appinfo>
							<min>1</min>
							<max>50</max>
							<default>50</default>
							<callInfo>
								<callName>getPayoutDetails</callName>
								<requiredInput>Conditionally</requiredInput>
							</callInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
		
		<!-- getPayoutDetailsResponse -->
		<xs:element name="getPayoutDetailsResponse" type="tns:GetPayoutDetailsResponse"/>
		<xs:complexType name="GetPayoutDetailsResponse">
			<xs:annotation>
				<xs:documentation>
					The response for the getPayoutDetails call. Detailed information
					of all the payouts matching the input criteria is returned.
				</xs:documentation>
			</xs:annotation>
			<xs:complexContent>
				<xs:extension base="tns:BaseResponse">
					<xs:sequence>
						<xs:element maxOccurs="unbounded" minOccurs="0" name="payoutDetail" type="tns:PayoutDetailType">
							<xs:annotation>
								<xs:documentation>
									Detailed information of a payout.
				    			</xs:documentation>
				    			<xs:appinfo>
									<CallInfo>
										<CallName>getOrderPayoutDetails</CallName>
										<CallName>getPayoutDetails</CallName>
										<Returned>Conditionally</Returned>
									</CallInfo>
								</xs:appinfo>
							</xs:annotation>
						</xs:element>
						<xs:element minOccurs="0" name="paginationOutput" type="tns:PaginationOutput">
							<xs:annotation>
								<xs:documentation>
									Pagination container consisting of fields that indicate the total number
									of pages and payouts that match the input criteria, the number of payouts per
									page, and the current page number being viewed.
								</xs:documentation>
								<xs:appinfo>
									<callInfo>
										<callName>getPayoutDetails</callName>
										<returned>Conditionally</returned>
									</callInfo>
								</xs:appinfo>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType> 
		
		<xs:complexType name="PaginationOutput">
			<xs:annotation>
				<xs:documentation>
					This type defines the paginationOutput container, which consists of fields that indicate
					the total number of pages and payouts that match the input criteria, the number of
					payouts per page, and the current page number being viewed.
				</xs:documentation>
				<xs:appinfo>
					<typeLibrarySource library="MarketPlaceServiceCommonTypeLibrary" namespace="http://www.ebay.com/marketplace/services"/>
				</xs:appinfo>
			</xs:annotation>
			<xs:sequence>
				<xs:element minOccurs="0" name="pageNumber" type="xs:int" >
					<xs:annotation>
						<xs:documentation>
							The page number currently being viewed. The total number of result pages is
							shown in the totalPages field.
						</xs:documentation>
						<xs:appinfo>
							<callInfo>
								<callName>getPayoutDetails</callName>
								<returned>Always</returned>
							</callInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="0" name="entriesPerPage" type="xs:int" >
					<xs:annotation>
						<xs:documentation>
							The number of payouts returned per page. This value is set in the 
							paginationInput.entriesPerPage field in the request.
						</xs:documentation>
						<xs:appinfo>
							<callInfo>
								<callName>getPayoutDetails</callName>
								<returned>Always</returned>
							</callInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="0" name="totalPages" type="xs:int" >
					<xs:annotation>
						<xs:documentation>
							This value indicates the total number of result pages that exist based on the
							current input criteria. If totalPages is more than 1, multiple calls must be 
							made to view all payout results, with the paginationInput.pageNumber value being
							incremented by 1 in each subsequent call.
						</xs:documentation>
						<xs:appinfo>
							<callInfo>
								<callName>getPayoutDetails</callName>
								<returned>Always</returned>
							</callInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="0" name="totalEntries" type="xs:int">
					<xs:annotation>
						<xs:documentation>
							This value indicates the total number of payouts that exist based on the
							current input criteria. Once this value is known, the caller may want to
							considering tweaking the paginationInput fields and making
							another call.
						</xs:documentation>
						<xs:appinfo>
							<callInfo>
								<callName>getPayoutDetails</callName>
								<returned>Always</returned>
							</callInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
		
		<!--  getVersionRequest/Response -->
		<xs:element name="getVersionRequest" nillable="true" type="tns:GetVersionRequest"/>
		<xs:complexType name="GetVersionRequest">
			<xs:annotation>
        <xs:documentation>
					This call is used to return the current version of the service. This call can be
					used to monitor the service for availability. This call has no input parameters and
					the response contains only the standard output fields.
				</xs:documentation>
				<xs:appinfo>
					<Summary>
						Returns the current version of the service.
					</Summary>
				</xs:appinfo>
			</xs:annotation>
			<xs:complexContent>
				<xs:extension base="tns:BaseRequest"/>
			</xs:complexContent>
		</xs:complexType>
		
		<xs:element name="getVersionResponse" nillable="true" type="tns:GetVersionResponse"/>
		<xs:complexType name="GetVersionResponse">
			<xs:annotation>
	        	<xs:documentation>
	          		Response container for the getVersion call.
	          	</xs:documentation>
	        </xs:annotation>
			<xs:complexContent>
				<xs:extension base="tns:BaseResponse"/>
			</xs:complexContent>
		</xs:complexType>
		
		<!-- CORE TYPES -->
		<xs:complexType abstract="true" name="BaseRequest">
			<xs:annotation>
				<xs:documentation>
				   This is the base class for request container for all service operations.
				</xs:documentation>
				<xs:appinfo>
					<typeLibrarySource library="MarketPlaceServiceCommonTypeLibrary" namespace="http://www.ebay.com/marketplace/services"/>
				</xs:appinfo>
			</xs:annotation>
			<xs:sequence>
				<xs:element maxOccurs="unbounded" minOccurs="0" name="extension" type="tns:ExtensionType"/>
			</xs:sequence>
		</xs:complexType>
			
		<xs:complexType name="ExtensionType">
			<xs:annotation>
				<xs:documentation>
					Reserved for future use.
				</xs:documentation>
				<xs:appinfo>
					<typeLibrarySource library="MarketPlaceServiceCommonTypeLibrary" namespace="http://www.ebay.com/marketplace/services"/>
				</xs:appinfo>
			</xs:annotation>
			<xs:sequence>
				<xs:element name="id" type="xs:positiveInteger"/>
				<xs:element name="version" type="xs:string"/>
				<xs:element name="contentType" type="xs:string"/>
				<xs:element name="value" type="xs:string"/>
				<xs:any maxOccurs="unbounded" minOccurs="0" processContents="lax"/>
			</xs:sequence>
		</xs:complexType>
		
		<xs:complexType abstract="true" name="BaseResponse">
			<xs:annotation>
				<xs:documentation>
					Base response container for all service operations. Contains error information associated with the request.
				</xs:documentation>
				<xs:appinfo>
					<typeLibrarySource library="MarketPlaceServiceCommonTypeLibrary" namespace="http://www.ebay.com/marketplace/services"/>
				</xs:appinfo>
			</xs:annotation>
			<xs:sequence>
				<xs:element name="ack" type="tns:AckValue">
					<xs:annotation>
						<xs:documentation/>
						<xs:appinfo>
							<CallInfo>
								<AllCalls/>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="0" name="errorMessage" type="tns:ErrorMessage">
					<xs:annotation>
						<xs:documentation>
						   	Information for an error or warning that occurred when eBay processed the
							request. This field is not returned if the ack value is Success.
						 </xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<AllCalls/>
								<Returned>Conditionally</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="0" name="version" type="xs:string">
					<xs:annotation>
						<xs:documentation/>
						<xs:appinfo>
							<CallInfo>
								<AllCalls/>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="0" name="timestamp" type="xs:dateTime">
					<xs:annotation>
						<xs:documentation/>
						<xs:appinfo>
							<CallInfo>
								<AllCalls/>
								<Returned>Always</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element maxOccurs="unbounded" minOccurs="0" name="extension" type="tns:ExtensionType"/>
			</xs:sequence>
		</xs:complexType>
		
		<xs:simpleType name="AckValue">
			<xs:annotation>
				<xs:documentation>
					 Indicates whether the error is a severe error (causing the request to fail) or an
					 informational error (a warning) that should be communicated to the user.
				 </xs:documentation>
				<xs:appinfo>
					<typeLibrarySource library="MarketPlaceServiceCommonTypeLibrary" namespace="http://www.ebay.com/marketplace/services"/>
				</xs:appinfo>
			</xs:annotation>
			<xs:restriction base="xs:string">
				<xs:enumeration value="Success">
					<xs:annotation>
						<xs:documentation>
						  eBay successfully processed the request and the business data is returned in
							the response. Note that it is possible for a response to return
							Success, but still not contain the expected data in the result.
						 </xs:documentation>
					</xs:annotation>
				</xs:enumeration>
				<xs:enumeration value="Failure">
					<xs:annotation>
						<xs:documentation>
							eBay encountered a fatal error during the processing of the request, causing
							the request to fail. When a serious application-level error occurs,
							the error is returned instead of the business data.
						 </xs:documentation>
					</xs:annotation>
				</xs:enumeration>
				<xs:enumeration value="Warning">
					<xs:annotation>
						<xs:documentation>
							The request that triggered the error was processed successfully but with one
							or more warnings.
						 </xs:documentation>
					</xs:annotation>
				</xs:enumeration>
				<xs:enumeration value="PartialFailure">
					<xs:annotation>
						<xs:documentation>
							eBay successfully processed the request, but one or more non-fatal errors occurred during
							the processing. Inspect the message details and resolve any problems before
							resubmitting the request.						 
						</xs:documentation>
					</xs:annotation>
				</xs:enumeration>
			</xs:restriction>
		</xs:simpleType>
		
		<xs:complexType name="ErrorMessage">
			<xs:annotation>
				<xs:documentation>
					Information for an error or warning that occurred when eBay processed the
					request. This field is not returned if the ack value is Success.
				</xs:documentation>
				<xs:appinfo>
					<CallInfo>
						<AllCalls/>
						<Returned>Conditionally</Returned>
					</CallInfo>
				</xs:appinfo>
			</xs:annotation>
			<xs:sequence>
				<xs:element maxOccurs="unbounded" minOccurs="0" name="error" type="tns:ErrorData">
					<xs:annotation>
						<xs:documentation>
							Details about a single error. 				
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<AllCalls/>
								<Returned>Conditionally</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
		
		<xs:complexType name="ErrorData">
			<xs:annotation>
				<xs:documentation>
					A container for error details.
				</xs:documentation>
				<xs:appinfo>
					<typeLibrarySource library="SOACommonTypeLibrary" namespace="http://www.ebay.com/marketplace/services"/>
				</xs:appinfo>
			</xs:annotation>
			<xs:sequence>
				<xs:element name="errorId" type="xs:long">
					<xs:annotation>
						<xs:documentation>
							A unique code that identifies the particular error condition that occurred.
							Your application can use error codes as identifiers in your customized error-
							handling algorithms.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<AllCalls/>
								<Returned>Conditionally</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element name="domain" type="xs:string">
					<xs:annotation>
						<xs:documentation>
							Name of the domain in which the error occurred.   
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<AllCalls/>
								<Returned>Conditionally</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="0" name="subdomain" type="xs:string">
					<xs:annotation>
						<xs:documentation>
							Name of the subdomain in which the error occurred.  
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<AllCalls/>
								<Returned>Conditionally</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element name="severity" type="tns:ErrorSeverity">
					<xs:annotation>
						<xs:documentation>
							Indicates whether the reported problem is fatal (an error) or is less- severe (a warning). Review the error message details for information on the cause. 
							&lt;br&gt;
							&lt;br&gt;
							If the request fails and the application is the source of the error (for example, a required element is missing), update the application before you retry the request. If the problem is due to incorrect user data, alert the end-user to the problem and provide the means for them to correct the data. Once the problem in the application or data is resolved, re-send the request to eBay. 
							&lt;br&gt;
							&lt;br&gt;
							If the source of the problem is on eBay's side, you can retry the request a reasonable number of times (eBay recommends you try the request twice). If the error persists, contact Developer Technical Support. Once the problem has been resolved, you can resend the request in its original form. 
							&lt;br&gt;
							&lt;br&gt;
							If a warning occurs, warning information is returned in addition to the business data. Normally, you do not need to resend the request (as the original request was successful). However, depending on the cause of the warning, you might need to contact the end user, or eBay, to effect a long term solution to the problem.  
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<AllCalls/>
								<Returned>Conditionally</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element name="category" type="tns:ErrorCategory">
					<xs:annotation>
						<xs:documentation>
							There are three categories of errors: request errors, application errors, and
							system errors.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<AllCalls/>
								<Returned>Conditionally</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element name="message" type="xs:string">
					<xs:annotation>
						<xs:documentation>
							A detailed description of the condition that caused the error.  
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<AllCalls/>
								<Returned>Conditionally</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="0" name="exceptionId" type="xs:token">
					<xs:annotation>
						<xs:documentation>
							Unique identifier for an exception associated with an error.   
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<AllCalls/>
								<Returned>Conditionally</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element maxOccurs="unbounded" minOccurs="0" name="parameter" type="tns:ErrorParameter">
					<xs:annotation>
						<xs:documentation>
							Various warning and error messages return one or more variables that contain
							contextual information about the error. This is often the field or value that
							triggered the error.
						</xs:documentation>
						<xs:appinfo>
							<CallInfo>
								<AllCalls/>
								<Returned>Conditionally</Returned>
							</CallInfo>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
		
		<xs:simpleType name="ErrorCategory">
			<xs:annotation>
				<xs:documentation/>
				<xs:appinfo>
					<typeLibrarySource library="SOACommonTypeLibrary" namespace="http://www.ebay.com/marketplace/services"/>
				</xs:appinfo>
			</xs:annotation>
			<xs:restriction base="xs:token">
				<xs:enumeration value="System">
					<xs:annotation>
						<xs:documentation>
							Indicates that an error has occurred on the eBay system side. For example, a
							database or server could be down. Inspect the error message to find the cause
							of the problem. If the problem is on the eBay side, an application can retry
							the request a reasonable number of times (eBay recommends twice). If the
							error persists, contact Developer Technical Support. Once the problem has been
							resolved, the request may be resent in its original form.
						</xs:documentation>
					</xs:annotation>
				</xs:enumeration>
				<xs:enumeration value="Application">
					<xs:annotation>
						<xs:documentation>
							An error occurred due to a problem with the request, with the most likely
							source being the application sending the request. For example, the request is
							missing a required data element or it contains an invalid field. The problem
							must be corrected before the request can be resent. Inspect the error message
							to find the cause of the problem. If the problem is due to an application
							error, modify the application and resend the request. If the error is due to
							invalid data, the source of the data must be corrected before you resend the
							resend request to eBay.
						</xs:documentation>
					</xs:annotation>
				</xs:enumeration>
				<xs:enumeration value="Request">
					<xs:annotation>
						<xs:documentation>
							An error occurred due to a problem with the request, with the most likely
							source being missing or invalid data in the request. The problem must be
							corrected before the request can be retried. Inspect the error message to
							find the cause of the problem. If the problem is a result of end-user data,
							alert the end-user to the problem and provide the means for them to correct
							the problem. Once the problem is resolved, resend the request to eBay.
						</xs:documentation>
					</xs:annotation>
				</xs:enumeration>
			</xs:restriction>
		</xs:simpleType>
		
		<xs:complexType name="ErrorParameter">
			<xs:annotation>
				<xs:documentation>
					Contextual data associated with an error. 
				</xs:documentation>
				<xs:appinfo>
					<typeLibrarySource library="SOACommonTypeLibrary" namespace="http://www.ebay.com/marketplace/services"/>
				</xs:appinfo>
			</xs:annotation>
			<xs:simpleContent>
				<xs:extension base="xs:string">
					<xs:attribute name="name" type="xs:string" use="optional">
						<xs:annotation>
							<xs:documentation>
								The name of the input parameter returned with the error. Inspecting the parameter (or its input value) will often aid in understanding the cause of the error. Not all error messages contain this value.  				
							</xs:documentation>
							<xs:appinfo>
								<CallInfo>
									<AllCalls/>
									<Returned>Conditionally</Returned>
								</CallInfo>
							</xs:appinfo>
						</xs:annotation>
					</xs:attribute>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
		
		<xs:simpleType name="ErrorSeverity">
			<xs:annotation>
				<xs:documentation>
					Indicates whether the error is a fatal error (causing the request to fail) or a
					less severe error (a warning) that should be communicated to the user.
				</xs:documentation>
				<xs:appinfo>
					<typeLibrarySource library="SOACommonTypeLibrary" namespace="http://www.ebay.com/marketplace/services"/>
				</xs:appinfo>
			</xs:annotation>
			<xs:restriction base="xs:token">
				<xs:enumeration value="Error">
					<xs:annotation>
						<xs:documentation>
							eBay encountered a fatal error during the processing of the request, causing the request to fail. When eBay encounters an error, it returns error data instead of the requested business data. Inspect the error details and resolve the problem before resubmitting the request.				
						</xs:documentation>
					</xs:annotation>
				</xs:enumeration>
				<xs:enumeration value="Warning">
					<xs:annotation>
						<xs:documentation>
							The request was successfully processed, but eBay encountered a non-fatal error during the processing that could affect the data returned. For example, eBay might have changed the value of an input field. In this case, eBay returns a successful response, but it also returns a warning. For best results, requests should return without warnings. Inspect the warning details and resolve the problem before resubmitting the request.				
						</xs:documentation>
					</xs:annotation>
				</xs:enumeration>
			</xs:restriction>
		</xs:simpleType>
		
		<xs:complexType name="Amount">
            <xs:annotation>
               <xs:documentation>
                   This type is used to represent Money.
               </xs:documentation>
               <xs:appinfo>
                  <typeLibrarySource library="MarketPlaceServiceCommonTypeLibrary" namespace="http://www.ebay.com/marketplace/services">
                  </typeLibrarySource>
               </xs:appinfo>
            </xs:annotation>
            <xs:simpleContent>
               <xs:extension base="xs:double">
                  <xs:attribute name="currencyId" type="xs:string" use="required">
                  	<xs:annotation>
						<xs:documentation>
							Currency in which the monetary amount is specified.
						</xs:documentation>
					</xs:annotation>
                  </xs:attribute>
               </xs:extension>
            </xs:simpleContent>
		</xs:complexType>      
	</xs:schema>
  </types>
  
  <message name="getOrderPayoutDetailsRequest">
    <part name="params" element="tns:getOrderPayoutDetailsRequest">
    </part>
  </message>
  <message name="getOrderPayoutDetailsResponse">
    <part name="params" element="tns:getOrderPayoutDetailsResponse">
    </part>
  </message>
  
  <message name="getPayoutDetailsRequest">
    <part name="params" element="tns:getPayoutDetailsRequest">
    </part>
  </message>
  <message name="getPayoutDetailsResponse">
    <part name="params" element="tns:getPayoutDetailsResponse">
    </part>
  </message>
  
  <message name="getVersionRequest">
    <part name="messageParameters" element="tns:getVersionRequest">
    </part>
  </message>
  <message name="getVersionResponse">
    <part name="messageParameters" element="tns:getVersionResponse">
    </part>
  </message>
  
  <portType name="PayoutDetailsServicePort">
    <operation name="getOrderPayoutDetails">
		<wsdl:documentation>Returns all the Payout details given an Order Id.</wsdl:documentation>
      	<input name="getOrderPayoutDetailsRequest" message="tns:getOrderPayoutDetailsRequest">
    	</input>
      	<output name="getOrderPayoutDetailsResponse" message="tns:getOrderPayoutDetailsResponse">
    	</output>
    </operation>
    <operation name="getPayoutDetails">
		<wsdl:documentation>Returns all the Payout details.</wsdl:documentation>
      	<input name="getPayoutDetailsRequest" message="tns:getPayoutDetailsRequest">
    	</input>
      	<output name="getPayoutDetailsResponse" message="tns:getPayoutDetailsResponse">
    	</output>
    </operation>
    <operation name="getVersion">
		<wsdl:documentation>Returns the current version of the service.</wsdl:documentation>
      	<input name="getVersionRequest" message="tns:getVersionRequest">
    	</input>
      	<output name="getVersionResponse" message="tns:getVersionResponse">
    	</output>
    </operation>
  </portType>
  
  <binding name="PayoutDetailsServiceHttpBinding" type="tns:PayoutDetailsServicePort">
    <http:binding verb="POST"/>
    <operation name="getOrderPayoutDetails">
      <http:operation location="/getOrderPayoutDetails"/>
      <input>
        <mime:content type="application/x-www-form-urlencoded"/>
      </input>
      <output>
        <mime:content type="text/xml"/>
      </output>
    </operation>
    <operation name="getPayoutDetails">
      <http:operation location="getPayoutDetails"/>
      <input>
        <mime:content type="application/x-www-form-urlencoded"/>
      </input>
      <output>
        <mime:content type="text/xml"/>
      </output>
    </operation>
    <operation name="getVersion">
      <http:operation location="/getVersion"/>
      <input>
        <mime:content type="application/x-www-form-urlencoded"/>
      </input>
      <output>
        <mime:content type="text/xml"/>
      </output>
    </operation>
  </binding>
  <binding name="PayoutDetailsServiceSOAPBinding" type="tns:PayoutDetailsServicePort">
    <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getOrderPayoutDetails">
      <soap12:operation soapAction="urn:getOrderPayoutDetails" style="document"/>
      <input>
        <soap12:body use="literal"/>
      </input>
      <output>
        <soap12:body use="literal"/>
      </output>
    </operation>
    <operation name="getPayoutDetails">
      <soap12:operation soapAction="urn:getPayoutDetails" style="document"/>
      <input>
        <soap12:body use="literal"/>
      </input>
      <output>
        <soap12:body use="literal"/>
      </output>
    </operation>
    <operation name="getVersion">
      <soap12:operation soapAction="urn:getVersion" style="document"/>
      <input>
        <soap12:body use="literal"/>
      </input>
      <output>
        <soap12:body use="literal"/>
      </output>
    </operation>
  </binding>
  <service name="PayoutDetailsService">
	<wsdl:documentation>
		<Version>1.0.0</Version>
    	Service allows consumers to get payout detailed information.
  	</wsdl:documentation>
    <port name="PayoutDetailsServiceHttpPort" binding="tns:PayoutDetailsServiceHttpBinding">
      <http:address location="https://svcs.ebay.com/services/fundstatus/v1/PayoutDetailsService"/>
    </port>
    <port name="PayoutDetailsServiceSOAPPort" binding="tns:PayoutDetailsServiceSOAPBinding">
      <soap12:address location="https://svcs.ebay.com/services/fundstatus/v1/PayoutDetailsService"/>
    </port>
  </service>
</definitions>
