CoolCMS API

ExpressServiceDescription
in package

FinalYes

One row of the administration overview "Express services" ({@see ExpressServiceRegistry::describe()}).

Table of Contents

Properties

$currencyId  : int
$level  : int|null
$moduleCode  : string
$paymentRegionId  : int|null
$price  : float
$serviceCode  : string
$shortcode  : string|null
Shortcode of the gateway for this price, null = no number → the service cannot be paid.
$tariffId  : int
$tariffName  : string

Methods

__construct()  : mixed
isPayable()  : bool
withPhone()  : self

Properties

$shortcode read-only

Shortcode of the gateway for this price, null = no number → the service cannot be paid.

public string|null $shortcode = null

Methods

__construct()

public __construct(string $moduleCode, string $serviceCode, int $tariffId, string $tariffName, float $price, int $currencyId, int|null $paymentRegionId[, string|null $shortcode = null ][, int|null $level = null ]) : mixed
Parameters
$moduleCode : string
$serviceCode : string
$tariffId : int
$tariffName : string
$price : float
$currencyId : int
$paymentRegionId : int|null
$shortcode : string|null = null
$level : int|null = null

withPhone()

public withPhone(string|null $shortcode, int|null $level) : self
Parameters
$shortcode : string|null
$level : int|null
Return values
self
On this page

Search results