Overview

Summary

ContactDonateImprint


Appendix E-36: REFUND (UI prompt)


RefundReturnRequestModuleAmazonCom

Properties (5)

PropertyTypeEntityReferenceModule
(1) AmountDOUBLERefund
(2) CreatedAtDATERefund
(3) CurrencySTRINGRefund
(4) PaymentTransactionLONGRefundPaymentTransactionCustomerModule
(5) ReturnRequestLONGRefundReturnRequestReturnRequestModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /refund/returnrequest/{id}findAllRefundOfReturnRequest(id)ReturnRequestModuleGETReturnRequest Refund
(2) /refund/{id}deleteRefundById(id)ReturnRequestModuleDELETERefund
(3) /refund/{id}updateRefundById(refund)ReturnRequestModulePUTRefund
(4) /refundfindAllRefund()ReturnRequestModuleGETRefund
(5) /refund/{id}findRefundById(id)ReturnRequestModuleGETRefund
(6) /refund/paymenttransaction/{id}findAllRefundOfPaymentTransaction(id)ReturnRequestModuleGETPaymentTransaction Refund
(7) /refundinsertRefund(refund)ReturnRequestModulePOSTRefund





Example:

final Refund refund = (Refund) invokeModule(RETURN_REQUEST_MODULE + "/refund/" + id, Refund.class);
if (refund != null) {
    final ReturnRequest returnrequest1 = (ReturnRequest) invokeModule(RETURN_REQUEST_MODULE + "/returnrequest/" + refund.getReturnRequest().getId(), ReturnRequest.class);
    if (returnrequest1 != null) {
        final Customer customer2 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + returnrequest1.getCustomer().getId(), Customer.class);
        if (customer2 != null) {
        }
        final Customer customerorder3 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + returnrequest1.getCustomerOrder().getId(), Customer.class);
        if (customerorder3 != null) {
        }
    }
    final PaymentTransaction paymenttransaction4 = (PaymentTransaction) invokeModule(CUSTOMER_MODULE + "/paymenttransaction/" + refund.getPaymentTransaction().getId(), PaymentTransaction.class);
    if (paymenttransaction4 != null) {
        final Customer customerorder5 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + paymenttransaction4.getCustomerOrder().getId(), Customer.class);
        if (customerorder5 != null) {
        }
        final PaymentMethod paymentmethod6 = (PaymentMethod) invokeModule(CUSTOMER_MODULE + "/paymentmethod/" + paymenttransaction4.getPaymentMethod().getId(), PaymentMethod.class);
        if (paymentmethod6 != null) {
            final Customer customer7 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + paymentmethod6.getCustomer().getId(), Customer.class);
            if (customer7 != null) {
            }
        }
    }
}
return refund;


Overview

Summary

ContactDonateImprint