Overview

Summary

ContactDonateImprint


2. CUSTOMER MODULE (UI prompt)



Module Entities (16)

EntityAliasModuleGlobal Schema
(1) AnswerAnswerProductModuleAmazonCom
(2) BrowseEventBrowseEventProductModuleAmazonCom
(3) CustomerCustomerCustomerModuleAmazonCom
(4) CustomerOrderCustomerOrderCustomerModuleAmazonCom
(5) OrderItemOrderItemReturnRequestModuleAmazonCom
(6) PaymentMethodPaymentMethodCustomerModuleAmazonCom
(7) PaymentTransactionPaymentTransactionCustomerModuleAmazonCom
(8) ProductProductProductModuleAmazonCom
(9) QuestionQuestionProductModuleAmazonCom
(10) RefundRefundReturnRequestModuleAmazonCom
(11) ReturnRequestReturnRequestReturnRequestModuleAmazonCom
(12) ReviewReviewCustomerModuleAmazonCom
(13) ReviewCommentReviewCommentCustomerModuleAmazonCom
(14) ShipmentShipmentFulfillmentCenterModuleAmazonCom
(15) ShoppingCartShoppingCartOfferModuleAmazonCom
(16) WishlistWishlistWishlistModuleAmazonCom

Module Interfaces (39)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /customerorder/paymentmethod/{id}findAllCustomerOrderOfPaymentMethod(id)CustomerModuleGETPaymentMethod CustomerOrder
(2) /reviewfindAllReview()CustomerModuleGETReview
(3) /paymenttransactioninsertPaymentTransaction(paymenttransaction)CustomerModulePOSTPaymentTransaction
(4) /paymenttransactionfindAllPaymentTransaction()CustomerModuleGETPaymentTransaction
(5) /paymenttransaction/paymentmethod/{id}findAllPaymentTransactionOfPaymentMethod(id)CustomerModuleGETPaymentMethod PaymentTransaction
(6) /review/{id}updateReviewById(review)CustomerModulePUTReview
(7) /customerorderinsertCustomerOrder(customerorder)CustomerModulePOSTCustomerOrder
(8) /customer/{id}updateCustomerById(customer)CustomerModulePUTCustomer
(9) /paymentmethod/{id}updatePaymentMethodById(paymentmethod)CustomerModulePUTPaymentMethod
(10) /reviewcommentinsertReviewComment(reviewcomment)CustomerModulePOSTReviewComment
(11) /reviewcommentfindAllReviewComment()CustomerModuleGETReviewComment
(12) /paymenttransaction/{id}findPaymentTransactionById(id)CustomerModuleGETPaymentTransaction
(13) /paymentmethodfindAllPaymentMethod()CustomerModuleGETPaymentMethod
(14) /customer/{id}findCustomerById(id)CustomerModuleGETCustomer
(15) /review/customer/{id}findAllReviewOfCustomer(id)CustomerModuleGETCustomer Review
(16) /paymenttransaction/customerorder/{id}findAllPaymentTransactionOfCustomerOrder(id)CustomerModuleGETCustomer PaymentTransaction
(17) /customerinsertCustomer(customer)CustomerModulePOSTCustomer
(18) /reviewcomment/customer/{id}findAllReviewCommentOfCustomer(id)CustomerModuleGETCustomer ReviewComment
(19) /reviewcomment/{id}findReviewCommentById(id)CustomerModuleGETReviewComment
(20) /paymentmethod/customer/{id}findAllPaymentMethodOfCustomer(id)CustomerModuleGETCustomer PaymentMethod
(21) /reviewcomment/{id}deleteReviewCommentById(id)CustomerModuleDELETEReviewComment
(22) /paymenttransaction/{id}deletePaymentTransactionById(id)CustomerModuleDELETEPaymentTransaction
(23) /paymentmethodinsertPaymentMethod(paymentmethod)CustomerModulePOSTPaymentMethod
(24) /customerorder/customer/{id}findAllCustomerOrderOfCustomer(id)CustomerModuleGETCustomer CustomerOrder
(25) /reviewcomment/{id}updateReviewCommentById(reviewcomment)CustomerModulePUTReviewComment
(26) /paymentmethod/{id}deletePaymentMethodById(id)CustomerModuleDELETEPaymentMethod
(27) /customerorder/{id}deleteCustomerOrderById(id)CustomerModuleDELETECustomerOrder
(28) /customerorder/{id}updateCustomerOrderById(customerorder)CustomerModulePUTCustomerOrder
(29) /customerorder/{id}findCustomerOrderById(id)CustomerModuleGETCustomerOrder
(30) /paymentmethod/{id}findPaymentMethodById(id)CustomerModuleGETPaymentMethod
(31) /reviewcomment/review/{id}findAllReviewCommentOfReview(id)CustomerModuleGETReview ReviewComment
(32) /reviewinsertReview(review)CustomerModulePOSTReview
(33) /customer/{id}deleteCustomerById(id)CustomerModuleDELETECustomer
(34) /customerorderfindAllCustomerOrder()CustomerModuleGETCustomerOrder
(35) /review/{id}findReviewById(id)CustomerModuleGETReview
(36) /review/{id}deleteReviewById(id)CustomerModuleDELETEReview
(37) /review/product/{id}findAllReviewOfProduct(id)CustomerModuleGETProduct Review
(38) /paymenttransaction/{id}updatePaymentTransactionById(paymenttransaction)CustomerModulePUTPaymentTransaction
(39) /customerfindAllCustomer()CustomerModuleGETCustomer






2.1 CUSTOMER


CustomerCustomerModuleAmazonCom

Properties (9)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATECustomer
(2) DefaultBillingAddressLONGCustomer
(3) DefaultShippingAddressLONGCustomer
(4) EmailSTRINGCustomer
(5) FirstNameSTRINGCustomer
(6) IsActiveBOOLCustomer
(7) LastNameSTRINGCustomer
(8) PasswordHashSTRINGCustomer
(9) UpdatedAtDATECustomer





Example:

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


2.2 CUSTOMER ORDER


CustomerOrderCustomerModuleAmazonCom

Properties (13)

PropertyTypeEntityReferenceModule
(1) BillingAddressLONGCustomerOrder
(2) CurrencySTRINGCustomerOrder
(3) CustomerLONGCustomerOrderCustomerCustomerModule
(4) GrandTotalDOUBLECustomerOrder
(5) OrderNumberSTRINGCustomerOrder
(6) PaymentMethodLONGCustomerOrderPaymentMethodCustomerModule
(7) PlacedAtDATECustomerOrder
(8) ShippingAddressLONGCustomerOrder
(9) StatusSTRINGCustomerOrder
(10) TotalDiscountAmountDOUBLECustomerOrder
(11) TotalItemsAmountDOUBLECustomerOrder
(12) TotalShippingAmountDOUBLECustomerOrder
(13) TotalTaxAmountDOUBLECustomerOrder





Example:

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


2.3 PAYMENT METHOD


PaymentMethodCustomerModuleAmazonCom

Properties (10)

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





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;


2.4 PAYMENT TRANSACTION


PaymentTransactionCustomerModuleAmazonCom

Properties (9)

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





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;


2.5 REVIEW


ReviewCustomerModuleAmazonCom

Properties (8)

PropertyTypeEntityReferenceModule
(1) BodySTRINGReview
(2) CreatedAtDATEReview
(3) CustomerLONGReviewCustomerCustomerModule
(4) IsVerifiedPurchaseBOOLReview
(5) ProductLONGReviewProductProductModule
(6) RatingINTReview
(7) TitleSTRINGReview
(8) UpdatedAtDATEReview





Example:

final Review review = (Review) invokeModule(CUSTOMER_MODULE + "/review/" + id, Review.class);
if (review != null) {
    final Customer customer1 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + review.getCustomer().getId(), Customer.class);
    if (customer1 != null) {
    }
    final Product product2 = (Product) invokeModule(PRODUCT_MODULE + "/product/" + review.getProduct().getId(), Product.class);
    if (product2 != null) {
        final Brand brand3 = (Brand) invokeModule(PRODUCT_MODULE + "/brand/" + product2.getBrand().getId(), Brand.class);
        if (brand3 != null) {
        }
    }
}
return review;


2.6 REVIEW COMMENT


ReviewCommentCustomerModuleAmazonCom

Properties (4)

PropertyTypeEntityReferenceModule
(1) BodySTRINGReviewComment
(2) CreatedAtDATEReviewComment
(3) CustomerLONGReviewCommentCustomerCustomerModule
(4) ReviewLONGReviewCommentReviewCustomerModule





Example:

final ReviewComment reviewcomment = (ReviewComment) invokeModule(CUSTOMER_MODULE + "/reviewcomment/" + id, ReviewComment.class);
if (reviewcomment != null) {
    final Review review1 = (Review) invokeModule(CUSTOMER_MODULE + "/review/" + reviewcomment.getReview().getId(), Review.class);
    if (review1 != null) {
        final Customer customer2 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + review1.getCustomer().getId(), Customer.class);
        if (customer2 != null) {
        }
        final Product product3 = (Product) invokeModule(PRODUCT_MODULE + "/product/" + review1.getProduct().getId(), Product.class);
        if (product3 != null) {
            final Brand brand4 = (Brand) invokeModule(PRODUCT_MODULE + "/brand/" + product3.getBrand().getId(), Brand.class);
            if (brand4 != null) {
            }
        }
    }
    final Customer customer5 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + reviewcomment.getCustomer().getId(), Customer.class);
    if (customer5 != null) {
    }
}
return reviewcomment;


Overview

Summary

ContactDonateImprint