Overview

Summary

ContactDonateImprint


Appendix E-20: PAYMENT TRANSACTION (UI prompt)


PaymentTransactionCustomerModuleAmazonCom

Properties (9)

PropertyTypeEntityReferenceModule
(1) AmountDOUBLEPaymentTransaction
(2) CreatedAtDATEPaymentTransaction
(3) CurrencySTRINGPaymentTransaction
(4) CustomerOrderLONGPaymentTransactionCustomerCustomerModule
(5) PaymentMethodLONGPaymentTransactionPaymentMethodCustomerModule
(6) ProviderSTRINGPaymentTransaction
(7) ProviderReferenceSTRINGPaymentTransaction
(8) StatusSTRINGPaymentTransaction
(9) UpdatedAtDATEPaymentTransaction


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /paymenttransactioninsertPaymentTransaction(paymenttransaction)CustomerModulePOSTPaymentTransaction
(2) /paymenttransaction/{id}deletePaymentTransactionById(id)CustomerModuleDELETEPaymentTransaction
(3) /paymenttransaction/customerorder/{id}findAllPaymentTransactionOfCustomerOrder(id)CustomerModuleGETCustomer PaymentTransaction
(4) /paymenttransaction/{id}findPaymentTransactionById(id)CustomerModuleGETPaymentTransaction
(5) /paymenttransaction/{id}updatePaymentTransactionById(paymenttransaction)CustomerModulePUTPaymentTransaction
(6) /paymenttransaction/paymentmethod/{id}findAllPaymentTransactionOfPaymentMethod(id)CustomerModuleGETPaymentMethod PaymentTransaction
(7) /paymenttransactionfindAllPaymentTransaction()CustomerModuleGETPaymentTransaction
(8) /refund/paymenttransaction/{id}findAllRefundOfPaymentTransaction(id)ReturnRequestModuleGETPaymentTransaction Refund





Example:

final PaymentTransaction paymenttransaction = (PaymentTransaction) invokeModule(CUSTOMER_MODULE + "/paymenttransaction/" + id, PaymentTransaction.class);
if (paymenttransaction != null) {
    final Customer customerorder1 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + paymenttransaction.getCustomerOrder().getId(), Customer.class);
    if (customerorder1 != null) {
    }
    final PaymentMethod paymentmethod2 = (PaymentMethod) invokeModule(CUSTOMER_MODULE + "/paymentmethod/" + paymenttransaction.getPaymentMethod().getId(), PaymentMethod.class);
    if (paymentmethod2 != null) {
        final Customer customer3 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + paymentmethod2.getCustomer().getId(), Customer.class);
        if (customer3 != null) {
        }
    }
}
return paymenttransaction;


Overview

Summary

ContactDonateImprint