PanCommandAttributeTrait
Trait PanCommandAttributeTrait
This trait provides methods to set and get the PAN (Primary Account Number) attribute for a command.
Table of Contents
Properties
- $pan : string
Methods
- getPan() : string
- Get the PAN (Primary Account Number) attribute.
- setPan() : void
- Set the PAN (Primary Account Number) attribute.
Properties
$pan
private
string
$pan
The PAN (Primary Account Number) attribute.
Methods
getPan()
Get the PAN (Primary Account Number) attribute.
public
getPan() : string
Return values
string —The PAN.
setPan()
Set the PAN (Primary Account Number) attribute.
public
setPan(string $pan) : void
Parameters
- $pan : string
-
The PAN to set.