CoolCMS API

ExpressOffersTrait

Express SMS offers for one object — text and number per service, composed by the Api (`api/system/payment/express-offers`), because the gateway keyword sits in gateway settings next to the shared secret and is never handed to the Front.

Table of Contents

Methods

findExpressOffers()  : array<int, array<string|int, mixed>>

Methods

findExpressOffers()

public findExpressOffers(string $moduleCode, int $objectId) : array<int, array<string|int, mixed>>
Parameters
$moduleCode : string
$objectId : int
Return values
array<int, array<string|int, mixed>> —

{tariffId, paymentRegionId, serviceCode, smsText, phone, price, currencyId, level}

On this page

Search results