Skip to content

\Einvoicing\Payments\Payment

getId()

Get payment ID

public getId(): string|null

Returns

  • string|null — Payment ID

setId()

Set payment ID

public setId($id: string|null): \Einvoicing\Payments\Payment

Parameters

  • $id: string|null — Payment ID

Returns


getMeansCode()

Get payment means code

public getMeansCode(): string|null

Returns

  • string|null — Payment means code

setMeansCode()

Set payment means code

public setMeansCode($meansCode: string): \Einvoicing\Payments\Payment

Parameters

  • $meansCode: string — Payment means code

Returns


getMeansText()

Get payment means text

public getMeansText(): string|null

Returns

  • string|null — Payment means text

setMeansText()

Set payment means text

public setMeansText($meansText: string|null): \Einvoicing\Payments\Payment

Parameters

  • $meansText: string|null — Payment means text

Returns


getTerms()

Get payment terms

public getTerms(): string|null

Returns

  • string|null — Payment terms

setTerms()

Set payment terms

public setTerms($terms: string|null): \Einvoicing\Payments\Payment

Parameters

  • $terms: string|null — Payment terms

Returns


getTransfers()

Get payment transfers

public getTransfers(): \Einvoicing\Payments\Transfer[]

Returns


addTransfer()

Add payment transfers

public addTransfer($transfer: \Einvoicing\Payments\Transfer): \Einvoicing\Payments\Payment

Parameters

Returns


removeTransfer()

Remove payment transfer

public removeTransfer($index: int): \Einvoicing\Payments\Payment

Parameters

  • $index: int — Transfer index

Returns

Throws


clearTransfers()

Clear all payment transfers

public clearTransfers(): \Einvoicing\Payments\Payment

Returns


getCard()

Get payment card

public getCard(): \Einvoicing\Payments\Card|null

Returns


setCard()

Set payment card

public setCard($card: \Einvoicing\Payments\Card|null): \Einvoicing\Payments\Payment

Parameters

Returns


getMandate()

Get payment mandate

public getMandate(): \Einvoicing\Payments\Mandate|null

Returns


setMandate()

Set payment mandate

public setMandate($mandate: \Einvoicing\Payments\Mandate|null): \Einvoicing\Payments\Payment

Parameters

Returns