BConnect POS - Reference PHP

GetFundInformation extends AbstractController
in package

Provides the mobile application with a point of sale's revenue aggregated by day, by month and by the current year.

Table of Contents

Properties

$entityManager  : EntityManagerInterface

Methods

__construct()  : mixed
getFundInfo()  : JsonResponse
Computes the day, month and year sales balances for a POS.

Properties

Methods

__construct()

public __construct(EntityManagerInterface $entityManager) : mixed
Parameters
$entityManager : EntityManagerInterface

Doctrine entity manager.

getFundInfo()

Computes the day, month and year sales balances for a POS.

public getFundInfo(int $pointOfSale) : JsonResponse
Parameters
$pointOfSale : int

Point-of-sale identifier.

Attributes
#[Route]
$path: "/api/point_of_sale/fund/{pointOfSale}"
$name: "api_fund_info"
$methods: ["GET"]
Return values
JsonResponse

The "soldePerDay", "soldePerMonth" and "soldePerYear" keys.

On this page

Search results