ExpressPaymentItemDto
in package
FinalYes
One express-payment box — a single tariff payable by a single premium SMS.
Assembled from a module tariff (Bazaar/Comcat/Discussion/…) and its
TariffQuickPrice row for one payment region, so the component itself stays
module-agnostic and never touches a module entity.
Table of Contents
Properties
- $currency : object|null
- $description : string|null
- $instruction : string
- $name : string
- $notice : string|null
- $phone : string
- $price : float
- $smsText : string
Methods
- __construct() : mixed
- getSmsHref() : string
- `sms:` link — prefills recipient and body on a phone, which is the entire point of "pay with one text message". Desktop browsers ignore an unknown scheme, and the plain text stays visible next to it either way.
Properties
$currency read-only
public
object|null
$currency
$description read-only
public
string|null
$description
$instruction read-only
public
string
$instruction
$name read-only
public
string
$name
$notice read-only
public
string|null
$notice
$phone read-only
public
string
$phone
$price read-only
public
float
$price
$smsText read-only
public
string
$smsText
Methods
__construct()
public
__construct(string $name, string|null $description, string $instruction, string $smsText, string $phone, float $price, object|null $currency, string|null $notice) : mixed
Parameters
- $name : string
- $description : string|null
- $instruction : string
- $smsText : string
- $phone : string
- $price : float
- $currency : object|null
- $notice : string|null
getSmsHref()
`sms:` link — prefills recipient and body on a phone, which is the entire point of "pay with one text message". Desktop browsers ignore an unknown scheme, and the plain text stays visible next to it either way.
public
getSmsHref() : string