Overview

Summary

ContactDonateImprint


Appendix E-14: CHARGEBACK (UI prompt)


ChargebackUserDeviceModulePayPal

Properties (8)

PropertyTypeEntityReferenceModule
(1) AmountDOUBLEChargeback
(2) ClosedAtDATEChargeback
(3) CurrencyLONGChargebackCurrencyCurrencyModule
(4) OpenedAtDATEChargeback
(5) ReasonCodeSTRINGChargeback
(6) StatusSTRINGChargeback
(7) TransactionLONGChargebackTransactionTransactionModule
(8) UserAccountLONGChargebackUserAccountUserAccountModule


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /chargeback/{id}deleteChargebackById(id)UserDeviceModuleDELETEChargeback
(2) /chargeback/{id}findChargebackById(id)UserDeviceModuleGETChargeback
(3) /chargeback/{id}updateChargebackById(chargeback)UserDeviceModulePUTChargeback
(4) /chargeback/useraccount/{id}findAllChargebackOfUserAccount(id)UserDeviceModuleGETUserAccount Chargeback
(5) /chargeback/currency/{id}findAllChargebackOfCurrency(id)UserDeviceModuleGETCurrency Chargeback
(6) /chargebackinsertChargeback(chargeback)UserDeviceModulePOSTChargeback
(7) /chargeback/transaction/{id}findAllChargebackOfTransaction(id)UserDeviceModuleGETTransaction Chargeback
(8) /chargebackfindAllChargeback()UserDeviceModuleGETChargeback





Example:

final Chargeback chargeback = (Chargeback) invokeModule(USER_DEVICE_MODULE + "/chargeback/" + id, Chargeback.class);
if (chargeback != null) {
    final Currency currency1 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + chargeback.getCurrency().getId(), Currency.class);
    if (currency1 != null) {
    }
    final UserAccount useraccount2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + chargeback.getUserAccount().getId(), UserAccount.class);
    if (useraccount2 != null) {
    }
    final Transaction transaction3 = (Transaction) invokeModule(TRANSACTION_MODULE + "/transaction/" + chargeback.getTransaction().getId(), Transaction.class);
    if (transaction3 != null) {
        final Merchant merchant4 = (Merchant) invokeModule(MERCHANT_MODULE + "/merchant/" + transaction3.getMerchant().getId(), Merchant.class);
        if (merchant4 != null) {
            final UserAccount useraccount5 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + merchant4.getUserAccount().getId(), UserAccount.class);
            if (useraccount5 != null) {
            }
        }
        final FundingSource fundingsource6 = (FundingSource) invokeModule(FUNDING_SOURCE_MODULE + "/fundingsource/" + transaction3.getFundingSource().getId(), FundingSource.class);
        if (fundingsource6 != null) {
            final UserAccount useraccount7 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + fundingsource6.getUserAccount().getId(), UserAccount.class);
            if (useraccount7 != null) {
            }
        }
        final Fee feeamount8 = (Fee) invokeModule(CURRENCY_MODULE + "/fee/" + transaction3.getFeeAmount().getId(), Fee.class);
        if (feeamount8 != null) {
            final Currency currency9 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + feeamount8.getCurrency().getId(), Currency.class);
            if (currency9 != null) {
            }
            final FeeSchedule feeschedule10 = (FeeSchedule) invokeModule(CURRENCY_MODULE + "/feeschedule/" + feeamount8.getFeeSchedule().getId(), FeeSchedule.class);
            if (feeschedule10 != null) {
                final Currency currency11 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + feeschedule10.getCurrency().getId(), Currency.class);
                if (currency11 != null) {
                }
            }
        }
        final Currency currency12 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + transaction3.getCurrency().getId(), Currency.class);
        if (currency12 != null) {
        }
    }
}
return chargeback;


Overview

Summary

ContactDonateImprint