Overview

Summary

ContactDonateImprint


Appendix E-34: PAYMENT METHOD (UI prompt)


PaymentMethodUserModuleAmazonPrimeVideo

Properties (9)

PropertyTypeEntityReferenceModule
(1) BillingCountryLONGPaymentMethodCountryTitleModule
(2) CreatedAtSTRINGPaymentMethod
(3) ExpiryMonthLONGPaymentMethod
(4) ExpiryYearLONGPaymentMethod
(5) IsDefaultBOOLPaymentMethod
(6) LastFourSTRINGPaymentMethod
(7) ProviderSTRINGPaymentMethod
(8) TypeSTRINGPaymentMethod
(9) UserLONGPaymentMethodUserUserModule


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /paymentmethod/{id}findPaymentMethodById(id)UserModuleGETPaymentMethod
(2) /paymentmethod/user/{id}findAllPaymentMethodOfUser(id)UserModuleGETUser PaymentMethod
(3) /paymentmethod/{id}updatePaymentMethodById(paymentmethod)UserModulePUTPaymentMethod
(4) /paymentmethod/{id}deletePaymentMethodById(id)UserModuleDELETEPaymentMethod
(5) /paymentmethodinsertPaymentMethod(paymentmethod)UserModulePOSTPaymentMethod
(6) /paymentmethodfindAllPaymentMethod()UserModuleGETPaymentMethod
(7) /paymentmethod/billingcountry/{id}findAllPaymentMethodOfBillingCountry(id)UserModuleGETCountry PaymentMethod
(8) /payment/paymentmethod/{id}findAllPaymentOfPaymentMethod(id)UserModuleGETPaymentMethod Payment





Example:

final PaymentMethod paymentmethod = (PaymentMethod) invokeModule(USER_MODULE + "/paymentmethod/" + id, PaymentMethod.class);
if (paymentmethod != null) {
    final User user1 = (User) invokeModule(USER_MODULE + "/user/" + paymentmethod.getUser().getId(), User.class);
    if (user1 != null) {
        final Country country2 = (Country) invokeModule(TITLE_MODULE + "/country/" + user1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
    final Country billingcountry3 = (Country) invokeModule(TITLE_MODULE + "/country/" + paymentmethod.getBillingCountry().getId(), Country.class);
    if (billingcountry3 != null) {
    }
}
return paymentmethod;


Overview

Summary

ContactDonateImprint