PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins
/
sf-booking
/
payment-gateway
/
MangoPay
<?php namespace MangoPay; use Psr\Log\LoggerInterface; use Psr\Log\NullLogger; /** * MangoPay API main entry point. * Provides managers to connect, send and read data from MangoPay API * as well as holds configuration/authorization data. */ class MangoPayApi { ///////////////////////////////////////////////// // Config/authorization related props ///////////////////////////////////////////////// /** * Authorization token methods * @var \MangoPay\Libraries\AuthorizationTokenManager */ public $OAuthTokenManager; /** * Configuration instance * @var \MangoPay\Libraries\Configuration */ public $Config; ///////////////////////////////////////////////// // API managers props ///////////////////////////////////////////////// /** * OAuth methods * @var \MangoPay\Libraries\ApiOAuth */ public $AuthenticationManager; /** * Provides responses methods * @var ApiResponses */ public $Responses; /** * Clients methods * @var ApiClients */ public $Clients; /** * Users methods * @var ApiUsers */ public $Users; /** * Wallets methods * @var ApiWallets */ public $Wallets; /** * Transfers methods * @var ApiTransfers */ public $Transfers; /** * Pay-in methods * @var ApiPayIns */ public $PayIns; /** * Pay-out methods * @var ApiPayOuts */ public $PayOuts; /** * Refund methods * @var ApiRefunds */ public $Refunds; /** * Card registration methods * @var ApiCardRegistrations */ public $CardRegistrations; /** * Pre-authorization methods * @var ApiCardPreAuthorizations */ public $CardPreAuthorizations; /** * Card methods * @var ApiCards */ public $Cards; /** * Events methods * @var ApiEvents */ public $Events; /** * Hooks methods * @var ApiHooks */ public $Hooks; /** * Kyc documents list * @var ApiKycDocuments */ public $KycDocuments; /** * Provides disputes methods * @var ApiDisputes */ public $Disputes; /** * Provides dispute documents methods * @var ApiDisputeDocuments */ public $DisputeDocuments; /** * Provides dispute documents methods * @var ApiMandates */ public $Mandates; /** * Provides reports request methods * @var ApiReports */ public $Reports; /** * Provides banking aliases methods * @var ApiBankingAliases */ public $BankingAliases; /** * Provides UBO declaration methods. * @var ApiUboDeclarations */ public $UboDeclarations; /** * Provides Bank Account methods * @var ApiBankAccounts */ public $BankAccounts; /** * Provides Repudiation methods * @var ApiRepudiations */ public $Repudiations; /** * @var LoggerInterface */ public $logger; /** * @var \MangoPay\Libraries\HttpBase */ public $httpClient; /** * Constructor */ public function __construct() { // default config setup $this->Config = new Libraries\Configuration(); $this->OAuthTokenManager = new Libraries\AuthorizationTokenManager($this); // API managers $this->AuthenticationManager = new Libraries\ApiOAuth($this); $this->Responses = new ApiResponses($this); $this->Clients = new ApiClients($this); $this->Users = new ApiUsers($this); $this->Wallets = new ApiWallets($this); $this->Transfers = new ApiTransfers($this); $this->PayIns = new ApiPayIns($this); $this->PayOuts = new ApiPayOuts($this); $this->Refunds = new ApiRefunds($this); $this->CardRegistrations = new ApiCardRegistrations($this); $this->Cards = new ApiCards($this); $this->Events = new ApiEvents($this); $this->Hooks = new ApiHooks($this); $this->CardPreAuthorizations = new ApiCardPreAuthorizations($this); $this->KycDocuments = new ApiKycDocuments($this); $this->Disputes = new ApiDisputes($this); $this->DisputeDocuments = new ApiDisputeDocuments($this); $this->Mandates = new ApiMandates($this); $this->Reports = new ApiReports($this); $this->BankingAliases = new ApiBankingAliases($this); $this->UboDeclarations = new ApiUboDeclarations($this); $this->BankAccounts = new ApiBankAccounts($this); $this->Repudiations = new ApiRepudiations($this); // Setting default NullLogger $this->logger = new NullLogger(); $this->httpClient = new \MangoPay\Libraries\HttpCurl($this); } /** * @param LoggerInterface $logger */ public function setLogger(LoggerInterface $logger) { $this->logger = $logger; } /** * @return LoggerInterface */ public function getLogger() { return $this->logger; } /** * @param \MangoPay\Libraries\HttpBase $httpClient */ public function setHttpClient(\MangoPay\Libraries\HttpBase $httpClient) { $this->httpClient = $httpClient; } /** * @return \MangoPay\Libraries\HttpBase */ public function getHttpClient() { return $this->httpClient; } }
[+]
..
[-] ApiBankingAliases.php
[edit]
[-] ClientLogoUpload.php
[edit]
[-] UboDeclarationRefusedReasonType.php
[edit]
[-] FilterDisputes.php
[edit]
[-] PayInPaymentDetailsBankWire.php
[edit]
[-] BusinessType.php
[edit]
[-] ApiCards.php
[edit]
[-] DisputeDocumentPage.php
[edit]
[-] Refund.php
[edit]
[-] Pagination.php
[edit]
[-] ApiTransfers.php
[edit]
[-] PayInExecutionDetailsExternalInstruction.php
[edit]
[-] ApiResponses.php
[edit]
[-] DocumentPageConsult.php
[edit]
[-] ApiCardRegistrations.php
[edit]
[-] PlatformCategorization.php
[edit]
[-] AVSResult.php
[edit]
[-] Event.php
[edit]
[-] ApiBankAccounts.php
[edit]
[-] PayInTemplateURLOptions.php
[edit]
[-] ApiWallets.php
[edit]
[-] ApiPayIns.php
[edit]
[-] PayOutStatus.php
[edit]
[-] Wallet.php
[edit]
[-] PayInExecutionType.php
[edit]
[-] User.php
[edit]
[-] ApiDisputeDocuments.php
[edit]
[-] PayInPaymentDetailsCard.php
[edit]
[-] Card.php
[edit]
[-] PayInExecutionDetailsWeb.php
[edit]
[-] PayInPaymentDetailsDirectDebit.php
[edit]
[-] FilterPreAuthorizations.php
[edit]
[-] PayInExecutionDetails.php
[edit]
[-] Money.php
[edit]
[-] KeyValueArray.php
[edit]
[-] Repudiation.php
[edit]
[-] ApiRefunds.php
[edit]
[-] BankAccountDetailsCA.php
[edit]
[-] PayInPaymentDetailsPaypal.php
[edit]
[-] PayOutPaymentType.php
[edit]
[-] Hook.php
[edit]
[-] NaturalUserCapacity.php
[edit]
[-] Mandate.php
[edit]
[-] CardPreAuthorizationStatus.php
[edit]
[-] ReportType.php
[edit]
[-] DeclaredUboStatus.php
[edit]
[-] ApiUboDeclarations.php
[edit]
[-] PayInPaymentDetailsPreAuthorized.php
[edit]
[-] BankAccountDetails.php
[edit]
[-] ApiReports.php
[edit]
[-] Client.php
[edit]
[-] PayOutPaymentDetails.php
[edit]
[-] ApiCardPreAuthorizations.php
[edit]
[-] ApiHooks.php
[edit]
[-] MangoPayApi.php
[edit]
[-] BankingAlias.php
[edit]
[-] Transfer.php
[edit]
[+]
Libraries
[-] Sector.php
[edit]
[+]
Psr
[-] SecurityInfo.php
[edit]
[-] ShippingAddress.php
[edit]
[-] ApiDisputes.php
[edit]
[-] Address.php
[edit]
[-] RefundReasonDetails.php
[edit]
[-] ApiMandates.php
[edit]
[-] BankingAliasIBAN.php
[edit]
[-] FilterBase.php
[edit]
[-] FundsType.php
[edit]
[-] FilterRefunds.php
[edit]
[-] EMoney.php
[edit]
[-] ReportRequest.php
[edit]
[-] DisputeReason.php
[edit]
[-] CardRegistration.php
[edit]
[-] DisputeReasonType.php
[edit]
[-] FilterReports.php
[edit]
[-] PayIn.php
[edit]
[-] FilterDisputeDocuments.php
[edit]
[-] Transaction.php
[edit]
[-] CardPreAuthorizationPaymentStatus.php
[edit]
[-] DebitedBankAccount.php
[edit]
[-] KycPage.php
[edit]
[-] DisputeStatus.php
[edit]
[-] EventType.php
[edit]
[-] Dispute.php
[edit]
[-] CardRegistrationStatus.php
[edit]
[-] PayInPaymentDetailsDirectDebitDirect.php
[edit]
[-] ApiUsers.php
[edit]
[-] DisputeDocumentType.php
[edit]
[-] PayInExecutionDetailsDirect.php
[edit]
[-] CardPreAuthorization.php
[edit]
[-] KycDocument.php
[edit]
[-] FilterTransactions.php
[edit]
[-] PayOut.php
[edit]
[-] CurrencyIso.php
[edit]
[-] BankAccountDetailsGB.php
[edit]
[-] Autoloader.php
[edit]
[-] FilterEvents.php
[edit]
[-] KycDocumentRefusedReasonType.php
[edit]
[-] LegalPersonType.php
[edit]
[-] PersonType.php
[edit]
[-] PayInWebExtendedView.php
[edit]
[-] Sorting.php
[edit]
[-] UboRefusedReasonType.php
[edit]
[-] SortDirection.php
[edit]
[-] DeclaredUbo.php
[edit]
[-] KycDocumentType.php
[edit]
[-] UboDeclaration.php
[edit]
[-] SettlementTransfer.php
[edit]
[-] ApiPayOuts.php
[edit]
[-] PayInStatus.php
[edit]
[-] CardValidity.php
[edit]
[-] PayInPaymentDetails.php
[edit]
[-] KycLevel.php
[edit]
[-] DisputeDocument.php
[edit]
[-] UboDeclarationStatus.php
[edit]
[-] ApiEvents.php
[edit]
[-] BankAccountDetailsUS.php
[edit]
[-] PayOutPaymentDetailsBankWire.php
[edit]
[-] Billing.php
[edit]
[-] autoload.php
[edit]
[-] ApiRepudiations.php
[edit]
[-] UserNatural.php
[edit]
[-] BankAccountDetailsOTHER.php
[edit]
[-] PayInPaymentType.php
[edit]
[-] BankingAliasType.php
[edit]
[-] UserLegal.php
[edit]
[-] DisputeDocumentStatus.php
[edit]
[-] FilterKycDocuments.php
[edit]
[-] DisputeType.php
[edit]
[-] ApiClients.php
[edit]
[-] Response.php
[edit]
[-] BankAccountDetailsIBAN.php
[edit]
[-] ApiKycDocuments.php
[edit]
[-] BankAccount.php
[edit]
[-] KycDocumentStatus.php
[edit]