Overview

Summary

ContactDonateImprint


Appendix E-24: PAYMENT METHOD (UI prompt)


PaymentMethodSubscriptionModulePayPal

Properties (6)

PropertyTypeEntityReferenceModule
(1) FundingSourceLONGPaymentMethodFundingSourceFundingSourceModule
(2) IsDefaultBOOLPaymentMethod
(3) LabelSTRINGPaymentMethod
(4) MethodTypeSTRINGPaymentMethod
(5) PriorityINTPaymentMethod
(6) UserAccountLONGPaymentMethodUserAccountUserAccountModule


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /paymentmethod/{id}deletePaymentMethodById(id)SubscriptionModuleDELETEPaymentMethod
(2) /paymentmethod/{id}findPaymentMethodById(id)SubscriptionModuleGETPaymentMethod
(3) /subscription/paymentmethod/{id}findAllSubscriptionOfPaymentMethod(id)SubscriptionModuleGETPaymentMethod Subscription
(4) /paymentmethod/{id}updatePaymentMethodById(paymentmethod)SubscriptionModulePUTPaymentMethod
(5) /paymentmethod/fundingsource/{id}findAllPaymentMethodOfFundingSource(id)SubscriptionModuleGETFundingSource PaymentMethod
(6) /paymentmethod/useraccount/{id}findAllPaymentMethodOfUserAccount(id)SubscriptionModuleGETUserAccount PaymentMethod
(7) /paymentmethodinsertPaymentMethod(paymentmethod)SubscriptionModulePOSTPaymentMethod
(8) /paymentmethodfindAllPaymentMethod()SubscriptionModuleGETPaymentMethod





Example:

final PaymentMethod paymentmethod = (PaymentMethod) invokeModule(SUBSCRIPTION_MODULE + "/paymentmethod/" + id, PaymentMethod.class);
if (paymentmethod != null) {
    final FundingSource fundingsource1 = (FundingSource) invokeModule(FUNDING_SOURCE_MODULE + "/fundingsource/" + paymentmethod.getFundingSource().getId(), FundingSource.class);
    if (fundingsource1 != null) {
        final UserAccount useraccount2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + fundingsource1.getUserAccount().getId(), UserAccount.class);
        if (useraccount2 != null) {
        }
    }
    final UserAccount useraccount3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + paymentmethod.getUserAccount().getId(), UserAccount.class);
    if (useraccount3 != null) {
    }
}
return paymentmethod;


Overview

Summary

ContactDonateImprint