Overview

Summary

ContactDonateImprint


Appendix E-29: PAYMENT METHOD (UI prompt)


PaymentMethodCustomerModuleAmazonCom

Properties (10)

PropertyTypeEntityReferenceModule
(1) BillingAddressLONGPaymentMethod
(2) CreatedAtDATEPaymentMethod
(3) CustomerLONGPaymentMethodCustomerCustomerModule
(4) ExpiryMonthINTPaymentMethod
(5) ExpiryYearINTPaymentMethod
(6) HolderNameSTRINGPaymentMethod
(7) IsDefaultBOOLPaymentMethod
(8) MaskedNumberSTRINGPaymentMethod
(9) TypeSTRINGPaymentMethod
(10) UpdatedAtDATEPaymentMethod


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /paymentmethod/{id}deletePaymentMethodById(id)CustomerModuleDELETEPaymentMethod
(2) /paymentmethod/{id}findPaymentMethodById(id)CustomerModuleGETPaymentMethod
(3) /customerorder/paymentmethod/{id}findAllCustomerOrderOfPaymentMethod(id)CustomerModuleGETPaymentMethod CustomerOrder
(4) /paymentmethod/{id}updatePaymentMethodById(paymentmethod)CustomerModulePUTPaymentMethod
(5) /paymentmethodfindAllPaymentMethod()CustomerModuleGETPaymentMethod
(6) /paymentmethodinsertPaymentMethod(paymentmethod)CustomerModulePOSTPaymentMethod
(7) /paymentmethod/customer/{id}findAllPaymentMethodOfCustomer(id)CustomerModuleGETCustomer PaymentMethod
(8) /paymenttransaction/paymentmethod/{id}findAllPaymentTransactionOfPaymentMethod(id)CustomerModuleGETPaymentMethod PaymentTransaction





Example:

final PaymentMethod paymentmethod = (PaymentMethod) invokeModule(CUSTOMER_MODULE + "/paymentmethod/" + id, PaymentMethod.class);
if (paymentmethod != null) {
    final Customer customer1 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + paymentmethod.getCustomer().getId(), Customer.class);
    if (customer1 != null) {
    }
}
return paymentmethod;


Overview

Summary

ContactDonateImprint