Package PayPalAPI.api.ebay

Examples of PayPalAPI.api.ebay.RefundTransactionRequestType


   * @throws RemoteException
   * @throws ServiceException
   * @throws SOAPException
   */
  public static final RefundTransactionResponseType refundTransaction(String _txnId, BasicAmountType _amount, String _memo, RefundPurposeTypeCodeType _type, APICredential _credentials) throws RemoteException {
    RefundTransactionRequestType request = new RefundTransactionRequestType();
    request.setVersion(CURRENT_VERSION);
    request.setTransactionID(_txnId);
    request.setAmount(_amount);
    request.setMemo(_memo);
    request.setRefundType(_type);
    return refundTransaction(request, _credentials);
  }
View Full Code Here


   * @throws RemoteException
   * @throws ServiceException
   * @throws SOAPException
   */
  public static final RefundTransactionResponseType refundTransaction(String _txnId, String _amount, String _currency, String _memo, String _type, APICredential _credentials) throws RemoteException {
    RefundTransactionRequestType request = new RefundTransactionRequestType();
    request.setVersion(CURRENT_VERSION);
    BasicAmountType amount = new BasicAmountType(_amount);
    amount.setCurrencyID(CurrencyCodeType.fromString(_currency));
    request.setAmount(amount);
    request.setMemo(_memo);
    request.setRefundType(RefundPurposeTypeCodeType.fromString(_type));
    request.setTransactionID(_txnId);
   
    return refundTransaction(request, _credentials);
  }
View Full Code Here

TOP

Related Classes of PayPalAPI.api.ebay.RefundTransactionRequestType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.