Package com.google.checkout.sdk.domain

Examples of com.google.checkout.sdk.domain.RefundOrderRequest


  }

  @Override
  public RefundAmountNotification refundOrder(
      String reason) throws CheckoutException {
    RefundOrderRequest refundOrderRequest = new RefundOrderRequest();
    refundOrderRequest.setGoogleOrderNumber(googleOrderNumber);
    refundOrderRequest.setReason(reason);
    return postCommand(refundOrderRequest.toJAXB()).getRefundAmountNotification();
  }
View Full Code Here


  }

  @Override
  public RefundAmountNotification refundOrder(
      String reason, BigDecimal refundAmount) throws CheckoutException {
    RefundOrderRequest refundOrderRequest = new RefundOrderRequest();
    refundOrderRequest.setGoogleOrderNumber(googleOrderNumber);
    refundOrderRequest.setAmount(apiContext.makeMoney(refundAmount));
    refundOrderRequest.setReason(reason);
    return postCommand(refundOrderRequest.toJAXB()).getRefundAmountNotification();
  }
View Full Code Here

TOP

Related Classes of com.google.checkout.sdk.domain.RefundOrderRequest

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.