Overview

Summary

ContactDonateImprint


Appendix E-37: PAYOUT ITEM (UI prompt)


PayoutItemTransactionModulePayPal

Properties (5)

PropertyTypeEntityReferenceModule
(1) AmountDOUBLEPayoutItem
(2) PayoutLONGPayoutItemPayoutUserAccountModule
(3) ReferenceSTRINGPayoutItem
(4) StatusSTRINGPayoutItem
(5) TransactionLONGPayoutItemTransactionTransactionModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /payoutitem/{id}deletePayoutItemById(id)TransactionModuleDELETEPayoutItem
(2) /payoutitem/transaction/{id}findAllPayoutItemOfTransaction(id)TransactionModuleGETTransaction PayoutItem
(3) /payoutitemfindAllPayoutItem()TransactionModuleGETPayoutItem
(4) /payoutitem/{id}findPayoutItemById(id)TransactionModuleGETPayoutItem
(5) /payoutiteminsertPayoutItem(payoutitem)TransactionModulePOSTPayoutItem
(6) /payoutitem/payout/{id}findAllPayoutItemOfPayout(id)TransactionModuleGETPayout PayoutItem
(7) /payoutitem/{id}updatePayoutItemById(payoutitem)TransactionModulePUTPayoutItem





Example:

final PayoutItem payoutitem = (PayoutItem) invokeModule(TRANSACTION_MODULE + "/payoutitem/" + id, PayoutItem.class);
if (payoutitem != null) {
    final Transaction transaction1 = (Transaction) invokeModule(TRANSACTION_MODULE + "/transaction/" + payoutitem.getTransaction().getId(), Transaction.class);
    if (transaction1 != null) {
        final Merchant merchant2 = (Merchant) invokeModule(MERCHANT_MODULE + "/merchant/" + transaction1.getMerchant().getId(), Merchant.class);
        if (merchant2 != null) {
            final UserAccount useraccount3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + merchant2.getUserAccount().getId(), UserAccount.class);
            if (useraccount3 != null) {
            }
        }
        final FundingSource fundingsource4 = (FundingSource) invokeModule(FUNDING_SOURCE_MODULE + "/fundingsource/" + transaction1.getFundingSource().getId(), FundingSource.class);
        if (fundingsource4 != null) {
            final UserAccount useraccount5 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + fundingsource4.getUserAccount().getId(), UserAccount.class);
            if (useraccount5 != null) {
            }
        }
        final Fee feeamount6 = (Fee) invokeModule(CURRENCY_MODULE + "/fee/" + transaction1.getFeeAmount().getId(), Fee.class);
        if (feeamount6 != null) {
            final Currency currency7 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + feeamount6.getCurrency().getId(), Currency.class);
            if (currency7 != null) {
            }
            final FeeSchedule feeschedule8 = (FeeSchedule) invokeModule(CURRENCY_MODULE + "/feeschedule/" + feeamount6.getFeeSchedule().getId(), FeeSchedule.class);
            if (feeschedule8 != null) {
                final Currency currency9 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + feeschedule8.getCurrency().getId(), Currency.class);
                if (currency9 != null) {
                }
            }
        }
        final Currency currency10 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + transaction1.getCurrency().getId(), Currency.class);
        if (currency10 != null) {
        }
    }
    final Payout payout11 = (Payout) invokeModule(USER_ACCOUNT_MODULE + "/payout/" + payoutitem.getPayout().getId(), Payout.class);
    if (payout11 != null) {
        final UserAccount useraccount12 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + payout11.getUserAccount().getId(), UserAccount.class);
        if (useraccount12 != null) {
        }
        final Currency currency13 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + payout11.getCurrency().getId(), Currency.class);
        if (currency13 != null) {
        }
        final FundingSource fundingsource14 = (FundingSource) invokeModule(FUNDING_SOURCE_MODULE + "/fundingsource/" + payout11.getFundingSource().getId(), FundingSource.class);
        if (fundingsource14 != null) {
            final UserAccount useraccount15 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + fundingsource14.getUserAccount().getId(), UserAccount.class);
            if (useraccount15 != null) {
            }
        }
    }
}
return payoutitem;


Overview

Summary

ContactDonateImprint