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
$currencyId read-only
public
int
$currencyId
$level read-only
public
int|null
$level
= null
$moduleCode read-only
public
string
$moduleCode
$paymentRegionId read-only
public
int|null
$paymentRegionId
$price read-only
public
float
$price
$serviceCode read-only
public
string
$serviceCode
$shortcode read-only
Shortcode of the gateway for this price, null = no number → the service cannot be paid.
public
string|null
$shortcode
= null
$tariffId read-only
public
int
$tariffId
$tariffName read-only
public
string
$tariffName
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
isPayable()
public
isPayable() : bool
Return values
boolwithPhone()
public
withPhone(string|null $shortcode, int|null $level) : self
Parameters
- $shortcode : string|null
- $level : int|null