Overview

Summary

ContactDonateImprint


4. MERCHANT MODULE (UI prompt)



Module Entities (11)

EntityAliasModuleGlobal Schema
(1) CountryCountryCountryModulePayPal
(2) InvoiceInvoiceCurrencyModulePayPal
(3) MerchantMerchantMerchantModulePayPal
(4) MerchantAddressMerchantAddressMerchantModulePayPal
(5) MerchantApiCredentialMerchantApiCredentialMerchantModulePayPal
(6) MerchantBusinessInfoMerchantBusinessInfoMerchantModulePayPal
(7) MerchantWebsiteMerchantWebsiteMerchantModulePayPal
(8) SecurityIncidentSecurityIncidentRegionModulePayPal
(9) SubscriptionPlanSubscriptionPlanSubscriptionModulePayPal
(10) TransactionTransactionTransactionModulePayPal
(11) UserAccountUserAccountUserAccountModulePayPal

Module Interfaces (31)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /merchantbusinessinfo/{id}deleteMerchantBusinessInfoById(id)MerchantModuleDELETEMerchantBusinessInfo
(2) /merchant/{id}findMerchantById(id)MerchantModuleGETMerchant
(3) /merchantwebsite/{id}updateMerchantWebsiteById(merchantwebsite)MerchantModulePUTMerchantWebsite
(4) /merchantwebsitefindAllMerchantWebsite()MerchantModuleGETMerchantWebsite
(5) /merchant/{id}updateMerchantById(merchant)MerchantModulePUTMerchant
(6) /merchantaddress/{id}deleteMerchantAddressById(id)MerchantModuleDELETEMerchantAddress
(7) /merchantaddress/{id}updateMerchantAddressById(merchantaddress)MerchantModulePUTMerchantAddress
(8) /merchantwebsite/{id}findMerchantWebsiteById(id)MerchantModuleGETMerchantWebsite
(9) /merchantapicredentialinsertMerchantApiCredential(merchantapicredential)MerchantModulePOSTMerchantApiCredential
(10) /merchantapicredentialfindAllMerchantApiCredential()MerchantModuleGETMerchantApiCredential
(11) /merchantfindAllMerchant()MerchantModuleGETMerchant
(12) /merchantbusinessinfo/merchant/{id}findAllMerchantBusinessInfoOfMerchant(id)MerchantModuleGETMerchant MerchantBusinessInfo
(13) /merchantaddress/{id}findMerchantAddressById(id)MerchantModuleGETMerchantAddress
(14) /merchantwebsite/merchant/{id}findAllMerchantWebsiteOfMerchant(id)MerchantModuleGETMerchant MerchantWebsite
(15) /merchantinsertMerchant(merchant)MerchantModulePOSTMerchant
(16) /merchantbusinessinfoinsertMerchantBusinessInfo(merchantbusinessinfo)MerchantModulePOSTMerchantBusinessInfo
(17) /merchantbusinessinfo/{id}findMerchantBusinessInfoById(id)MerchantModuleGETMerchantBusinessInfo
(18) /merchantbusinessinfo/{id}updateMerchantBusinessInfoById(merchantbusinessinfo)MerchantModulePUTMerchantBusinessInfo
(19) /merchantaddress/country/{id}findAllMerchantAddressOfCountry(id)MerchantModuleGETCountry MerchantAddress
(20) /merchantaddressfindAllMerchantAddress()MerchantModuleGETMerchantAddress
(21) /merchant/{id}deleteMerchantById(id)MerchantModuleDELETEMerchant
(22) /merchantapicredential/merchant/{id}findAllMerchantApiCredentialOfMerchant(id)MerchantModuleGETMerchant MerchantApiCredential
(23) /merchantwebsiteinsertMerchantWebsite(merchantwebsite)MerchantModulePOSTMerchantWebsite
(24) /merchant/useraccount/{id}findAllMerchantOfUserAccount(id)MerchantModuleGETUserAccount Merchant
(25) /merchantapicredential/{id}deleteMerchantApiCredentialById(id)MerchantModuleDELETEMerchantApiCredential
(26) /merchantaddress/merchant/{id}findAllMerchantAddressOfMerchant(id)MerchantModuleGETMerchant MerchantAddress
(27) /merchantaddressinsertMerchantAddress(merchantaddress)MerchantModulePOSTMerchantAddress
(28) /merchantwebsite/{id}deleteMerchantWebsiteById(id)MerchantModuleDELETEMerchantWebsite
(29) /merchantbusinessinfofindAllMerchantBusinessInfo()MerchantModuleGETMerchantBusinessInfo
(30) /merchantapicredential/{id}findMerchantApiCredentialById(id)MerchantModuleGETMerchantApiCredential
(31) /merchantapicredential/{id}updateMerchantApiCredentialById(merchantapicredential)MerchantModulePUTMerchantApiCredential






4.1 MERCHANT


MerchantMerchantModulePayPal

Properties (7)

PropertyTypeEntityReferenceModule
(1) CategorySTRINGMerchant
(2) CreatedAtDATEMerchant
(3) DisplayNameSTRINGMerchant
(4) LegalNameSTRINGMerchant
(5) StatusSTRINGMerchant
(6) UserAccountLONGMerchantUserAccountUserAccountModule
(7) WebsiteUrlSTRINGMerchant





Example:

final Merchant merchant = (Merchant) invokeModule(MERCHANT_MODULE + "/merchant/" + id, Merchant.class);
if (merchant != null) {
    final UserAccount useraccount1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + merchant.getUserAccount().getId(), UserAccount.class);
    if (useraccount1 != null) {
    }
}
return merchant;


4.2 MERCHANT ADDRESS


MerchantAddressMerchantModulePayPal

Properties (8)

PropertyTypeEntityReferenceModule
(1) AddressTypeSTRINGMerchantAddress
(2) CitySTRINGMerchantAddress
(3) CountryLONGMerchantAddressCountryCountryModule
(4) Line1STRINGMerchantAddress
(5) Line2STRINGMerchantAddress
(6) MerchantLONGMerchantAddressMerchantMerchantModule
(7) PostalCodeSTRINGMerchantAddress
(8) StateSTRINGMerchantAddress





Example:

final MerchantAddress merchantaddress = (MerchantAddress) invokeModule(MERCHANT_MODULE + "/merchantaddress/" + id, MerchantAddress.class);
if (merchantaddress != null) {
    final Merchant merchant1 = (Merchant) invokeModule(MERCHANT_MODULE + "/merchant/" + merchantaddress.getMerchant().getId(), Merchant.class);
    if (merchant1 != null) {
        final UserAccount useraccount2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + merchant1.getUserAccount().getId(), UserAccount.class);
        if (useraccount2 != null) {
        }
    }
    final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + merchantaddress.getCountry().getId(), Country.class);
    if (country3 != null) {
        final Region region4 = (Region) invokeModule(REGION_MODULE + "/region/" + country3.getRegion().getId(), Region.class);
        if (region4 != null) {
        }
    }
}
return merchantaddress;


4.3 MERCHANT API CREDENTIAL


MerchantApiCredentialMerchantModulePayPal

Properties (6)

PropertyTypeEntityReferenceModule
(1) ClientIdSTRINGMerchantApiCredential
(2) ClientSecretHashSTRINGMerchantApiCredential
(3) CreatedAtDATEMerchantApiCredential
(4) LastUsedAtDATEMerchantApiCredential
(5) MerchantLONGMerchantApiCredentialMerchantMerchantModule
(6) StatusSTRINGMerchantApiCredential





Example:

final MerchantApiCredential merchantapicredential = (MerchantApiCredential) invokeModule(MERCHANT_MODULE + "/merchantapicredential/" + id, MerchantApiCredential.class);
if (merchantapicredential != null) {
    final Merchant merchant1 = (Merchant) invokeModule(MERCHANT_MODULE + "/merchant/" + merchantapicredential.getMerchant().getId(), Merchant.class);
    if (merchant1 != null) {
        final UserAccount useraccount2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + merchant1.getUserAccount().getId(), UserAccount.class);
        if (useraccount2 != null) {
        }
    }
}
return merchantapicredential;


4.4 MERCHANT BUSINESS INFO


MerchantBusinessInfoMerchantModulePayPal

Properties (5)

PropertyTypeEntityReferenceModule
(1) EstablishedAtDATEMerchantBusinessInfo
(2) IndustryCodeSTRINGMerchantBusinessInfo
(3) MerchantLONGMerchantBusinessInfoMerchantMerchantModule
(4) RegistrationNumberSTRINGMerchantBusinessInfo
(5) TaxNumberSTRINGMerchantBusinessInfo





Example:

final MerchantBusinessInfo merchantbusinessinfo = (MerchantBusinessInfo) invokeModule(MERCHANT_MODULE + "/merchantbusinessinfo/" + id, MerchantBusinessInfo.class);
if (merchantbusinessinfo != null) {
    final Merchant merchant1 = (Merchant) invokeModule(MERCHANT_MODULE + "/merchant/" + merchantbusinessinfo.getMerchant().getId(), Merchant.class);
    if (merchant1 != null) {
        final UserAccount useraccount2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + merchant1.getUserAccount().getId(), UserAccount.class);
        if (useraccount2 != null) {
        }
    }
}
return merchantbusinessinfo;


4.5 MERCHANT WEBSITE


MerchantWebsiteMerchantModulePayPal

Properties (4)

PropertyTypeEntityReferenceModule
(1) MerchantLONGMerchantWebsiteMerchantMerchantModule
(2) StatusSTRINGMerchantWebsite
(3) UrlSTRINGMerchantWebsite
(4) VerifiedAtDATEMerchantWebsite





Example:

final MerchantWebsite merchantwebsite = (MerchantWebsite) invokeModule(MERCHANT_MODULE + "/merchantwebsite/" + id, MerchantWebsite.class);
if (merchantwebsite != null) {
    final Merchant merchant1 = (Merchant) invokeModule(MERCHANT_MODULE + "/merchant/" + merchantwebsite.getMerchant().getId(), Merchant.class);
    if (merchant1 != null) {
        final UserAccount useraccount2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + merchant1.getUserAccount().getId(), UserAccount.class);
        if (useraccount2 != null) {
        }
    }
}
return merchantwebsite;


Overview

Summary

ContactDonateImprint