Skip to content

\Einvoicing\Payments\Card

getPan()

Get card PAN (Primary Account Number)

public getPan(): string|null

Returns

  • string|null — Card PAN

setPan()

Set card PAN (Primary Account Number)

public setPan($pan: string): \Einvoicing\Payments\Card

Parameters

  • $pan: string — Card PAN

Returns


getNetwork()

Get card network ID

public getNetwork(): string|null

Returns

  • string|null — Card network ID

setNetwork()

Set card network ID

public setNetwork($network: string|null): \Einvoicing\Payments\Card

Parameters

  • $network: string|null — Card network ID

Returns


getHolder()

Get card holder name

public getHolder(): string|null

Returns

  • string|null — Card holder name

setHolder()

Set card holder name

public setHolder($holder: string|null): \Einvoicing\Payments\Card

Parameters

  • $holder: string|null — Card holder name

Returns