PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins
/
sf-booking
/
payment-gateway
/
MangoPay
<?php namespace MangoPay; /** * Class to management MangoPay API for reports */ class ApiReports extends Libraries\ApiBase { /** * Creates new report request * @param \MangoPay\ReportRequest $reportRequest * @return \MangoPay\ReportRequest Report request instance returned from API */ public function Create($reportRequest, $idempotencyKey = null) { $type = $reportRequest->ReportType; if (is_null($type) || strlen($type) == 0) throw new Libraries\Exception('Report type property is required when create a report request.'); switch ($type) { case ReportType::Transactions: return $this->CreateObject('reports_transactions_create', $reportRequest, '\MangoPay\ReportRequest', $type, null, $idempotencyKey); case ReportType::Wallets: return $this->CreateObject('reports_wallets_create', $reportRequest, '\MangoPay\ReportRequest', $type, null, $idempotencyKey); default: throw new Libraries\Exception('Unexpected Report type. Wrong ReportType value.'); } } /** * Gets report request. * @param int $reportRequestId Report request identifier * @return \MangoPay\ReportRequest Report request instance returned from API */ public function Get($reportRequestId) { return $this->GetObject('reports_get', $reportRequestId, '\MangoPay\ReportRequest'); } /** * Gets all report requests. * @param \MangoPay\Pagination $pagination Pagination object * @param \MangoPay\FilterTransactions $filter Object to filter data * @param \MangoPay\Sorting $sorting Object to sorting data * @return array Array with report requests */ public function GetAll(& $pagination = null, $filter = null, $sorting = null) { return $this->GetList('reports_all', $pagination, 'MangoPay\ReportRequest', null, $filter, $sorting); } }
[+]
..
[-] 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]