Overview

Summary

ContactDonateImprint


15. USER MODULE (UI prompt)



Module Entities (8)

EntityAliasModuleGlobal Schema
(1) ChannelSubscriptionChannelSubscriptionDrmSchemeModuleAmazonPrimeVideo
(2) CountryCountryTitleModuleAmazonPrimeVideo
(3) DeviceDeviceEpisodeModuleAmazonPrimeVideo
(4) PaymentPaymentUserModuleAmazonPrimeVideo
(5) PaymentMethodPaymentMethodUserModuleAmazonPrimeVideo
(6) ProfileProfileProfileModuleAmazonPrimeVideo
(7) SubscriptionSubscriptionSeasonModuleAmazonPrimeVideo
(8) UserUserUserModuleAmazonPrimeVideo

Module Interfaces (21)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /user/country/{id}findAllUserOfCountry(id)UserModuleGETCountry User
(2) /paymentmethodinsertPaymentMethod(paymentmethod)UserModulePOSTPaymentMethod
(3) /paymentmethod/{id}findPaymentMethodById(id)UserModuleGETPaymentMethod
(4) /payment/{id}findPaymentById(id)UserModuleGETPayment
(5) /user/{id}findUserById(id)UserModuleGETUser
(6) /payment/{id}deletePaymentById(id)UserModuleDELETEPayment
(7) /user/{id}updateUserById(user)UserModulePUTUser
(8) /payment/{id}updatePaymentById(payment)UserModulePUTPayment
(9) /paymentmethod/{id}updatePaymentMethodById(paymentmethod)UserModulePUTPaymentMethod
(10) /paymentmethod/billingcountry/{id}findAllPaymentMethodOfBillingCountry(id)UserModuleGETCountry PaymentMethod
(11) /paymentinsertPayment(payment)UserModulePOSTPayment
(12) /userfindAllUser()UserModuleGETUser
(13) /paymentmethod/{id}deletePaymentMethodById(id)UserModuleDELETEPaymentMethod
(14) /userinsertUser(user)UserModulePOSTUser
(15) /paymentfindAllPayment()UserModuleGETPayment
(16) /payment/user/{id}findAllPaymentOfUser(id)UserModuleGETUser Payment
(17) /payment/paymentmethod/{id}findAllPaymentOfPaymentMethod(id)UserModuleGETPaymentMethod Payment
(18) /user/{id}deleteUserById(id)UserModuleDELETEUser
(19) /paymentmethod/user/{id}findAllPaymentMethodOfUser(id)UserModuleGETUser PaymentMethod
(20) /payment/subscription/{id}findAllPaymentOfSubscription(id)UserModuleGETSubscription Payment
(21) /paymentmethodfindAllPaymentMethod()UserModuleGETPaymentMethod






15.1 PAYMENT


PaymentUserModuleAmazonPrimeVideo

Properties (8)

PropertyTypeEntityReferenceModule
(1) AmountSTRINGPayment
(2) CurrencySTRINGPayment
(3) DescriptionSTRINGPayment
(4) PaidAtSTRINGPayment
(5) PaymentMethodLONGPaymentPaymentMethodUserModule
(6) StatusSTRINGPayment
(7) SubscriptionLONGPaymentSubscriptionSeasonModule
(8) UserLONGPaymentUserUserModule





Example:

final Payment payment = (Payment) invokeModule(USER_MODULE + "/payment/" + id, Payment.class);
if (payment != null) {
    final User user1 = (User) invokeModule(USER_MODULE + "/user/" + payment.getUser().getId(), User.class);
    if (user1 != null) {
        final Country country2 = (Country) invokeModule(TITLE_MODULE + "/country/" + user1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
    final Subscription subscription3 = (Subscription) invokeModule(SEASON_MODULE + "/subscription/" + payment.getSubscription().getId(), Subscription.class);
    if (subscription3 != null) {
        final User user4 = (User) invokeModule(USER_MODULE + "/user/" + subscription3.getUser().getId(), User.class);
        if (user4 != null) {
            final Country country5 = (Country) invokeModule(TITLE_MODULE + "/country/" + user4.getCountry().getId(), Country.class);
            if (country5 != null) {
            }
        }
        final SubscriptionPlan subscriptionplan6 = (SubscriptionPlan) invokeModule(SUBSCRIPTION_PLAN_MODULE + "/subscriptionplan/" + subscription3.getSubscriptionPlan().getId(), SubscriptionPlan.class);
        if (subscriptionplan6 != null) {
        }
    }
    final PaymentMethod paymentmethod7 = (PaymentMethod) invokeModule(USER_MODULE + "/paymentmethod/" + payment.getPaymentMethod().getId(), PaymentMethod.class);
    if (paymentmethod7 != null) {
        final User user8 = (User) invokeModule(USER_MODULE + "/user/" + paymentmethod7.getUser().getId(), User.class);
        if (user8 != null) {
            final Country country9 = (Country) invokeModule(TITLE_MODULE + "/country/" + user8.getCountry().getId(), Country.class);
            if (country9 != null) {
            }
        }
        final Country billingcountry10 = (Country) invokeModule(TITLE_MODULE + "/country/" + paymentmethod7.getBillingCountry().getId(), Country.class);
        if (billingcountry10 != null) {
        }
    }
}
return payment;


15.2 PAYMENT METHOD


PaymentMethodUserModuleAmazonPrimeVideo

Properties (9)

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





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;


15.3 USER


UserUserModuleAmazonPrimeVideo

Properties (6)

PropertyTypeEntityReferenceModule
(1) CountryLONGUserCountryTitleModule
(2) CreatedAtSTRINGUser
(3) DisplayNameSTRINGUser
(4) EmailSTRINGUser
(5) PasswordHashSTRINGUser
(6) StatusSTRINGUser





Example:

final User user = (User) invokeModule(USER_MODULE + "/user/" + id, User.class);
if (user != null) {
    final Country country1 = (Country) invokeModule(TITLE_MODULE + "/country/" + user.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
}
return user;


Overview

Summary

ContactDonateImprint