Overview

Summary

ContactDonateImprint


Appendix E-40: INVOICE ITEM (UI prompt)


InvoiceItemCurrencyModulePayPal

Properties (6)

PropertyTypeEntityReferenceModule
(1) DescriptionSTRINGInvoiceItem
(2) InvoiceLONGInvoiceItemInvoiceCurrencyModule
(3) NameSTRINGInvoiceItem
(4) QuantityDOUBLEInvoiceItem
(5) TaxAmountDOUBLEInvoiceItem
(6) UnitAmountDOUBLEInvoiceItem


Module Interfaces (6)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /invoiceitemfindAllInvoiceItem()CurrencyModuleGETInvoiceItem
(2) /invoiceitem/{id}deleteInvoiceItemById(id)CurrencyModuleDELETEInvoiceItem
(3) /invoiceitem/invoice/{id}findAllInvoiceItemOfInvoice(id)CurrencyModuleGETInvoice InvoiceItem
(4) /invoiceitem/{id}updateInvoiceItemById(invoiceitem)CurrencyModulePUTInvoiceItem
(5) /invoiceitem/{id}findInvoiceItemById(id)CurrencyModuleGETInvoiceItem
(6) /invoiceiteminsertInvoiceItem(invoiceitem)CurrencyModulePOSTInvoiceItem





Example:

final InvoiceItem invoiceitem = (InvoiceItem) invokeModule(CURRENCY_MODULE + "/invoiceitem/" + id, InvoiceItem.class);
if (invoiceitem != null) {
    final Invoice invoice1 = (Invoice) invokeModule(CURRENCY_MODULE + "/invoice/" + invoiceitem.getInvoice().getId(), Invoice.class);
    if (invoice1 != null) {
        final Transaction transaction2 = (Transaction) invokeModule(TRANSACTION_MODULE + "/transaction/" + invoice1.getTransaction().getId(), Transaction.class);
        if (transaction2 != null) {
            final Merchant merchant3 = (Merchant) invokeModule(MERCHANT_MODULE + "/merchant/" + transaction2.getMerchant().getId(), Merchant.class);
            if (merchant3 != null) {
                final UserAccount useraccount4 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + merchant3.getUserAccount().getId(), UserAccount.class);
                if (useraccount4 != null) {
                }
            }
            final FundingSource fundingsource5 = (FundingSource) invokeModule(FUNDING_SOURCE_MODULE + "/fundingsource/" + transaction2.getFundingSource().getId(), FundingSource.class);
            if (fundingsource5 != null) {
                final UserAccount useraccount6 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + fundingsource5.getUserAccount().getId(), UserAccount.class);
                if (useraccount6 != null) {
                }
            }
            final Fee feeamount7 = (Fee) invokeModule(CURRENCY_MODULE + "/fee/" + transaction2.getFeeAmount().getId(), Fee.class);
            if (feeamount7 != null) {
                final Currency currency8 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + feeamount7.getCurrency().getId(), Currency.class);
                if (currency8 != null) {
                }
                final FeeSchedule feeschedule9 = (FeeSchedule) invokeModule(CURRENCY_MODULE + "/feeschedule/" + feeamount7.getFeeSchedule().getId(), FeeSchedule.class);
                if (feeschedule9 != null) {
                    final Currency currency10 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + feeschedule9.getCurrency().getId(), Currency.class);
                    if (currency10 != null) {
                    }
                }
            }
            final Currency currency11 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + transaction2.getCurrency().getId(), Currency.class);
            if (currency11 != null) {
            }
        }
        final Merchant merchant12 = (Merchant) invokeModule(MERCHANT_MODULE + "/merchant/" + invoice1.getMerchant().getId(), Merchant.class);
        if (merchant12 != null) {
            final UserAccount useraccount13 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + merchant12.getUserAccount().getId(), UserAccount.class);
            if (useraccount13 != null) {
            }
        }
        final Currency currency14 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + invoice1.getCurrency().getId(), Currency.class);
        if (currency14 != null) {
        }
    }
}
return invoiceitem;


Overview

Summary

ContactDonateImprint