Amount

class Firstred\PostNL\Entity\Amount
Class Amount.
Parent:

Firstred\PostNL\Entity\AbstractEntity

Summary

Methods

Properties

public property Firstred\PostNL\Entity\Amount::$defaultProperties
Type:

string[][]

protected static property Firstred\PostNL\Entity\Amount::$AccountName
Type:

string | null

protected static property Firstred\PostNL\Entity\Amount::$AmountType
Type:

string | null

protected static property Firstred\PostNL\Entity\Amount::$BIC
Type:

string | null

protected static property Firstred\PostNL\Entity\Amount::$Currency
Type:

string | null

protected static property Firstred\PostNL\Entity\Amount::$IBAN
Type:

string | null

protected static property Firstred\PostNL\Entity\Amount::$Reference
Type:

string | null

protected static property Firstred\PostNL\Entity\Amount::$TransactionNumber
Type:

string | null

protected static property Firstred\PostNL\Entity\Amount::$Value
Type:

string | null

protected static property Firstred\PostNL\Entity\Amount::$VerzekerdBedrag
Type:

string | null

Methods

public Firstred\PostNL\Entity\Amount::__construct($AccountName=null, $AmountType=null, $BIC=null, $Currency=null, $IBAN=null, $Reference=null, $TransactionNumber=null, $Value=null, $VerzekerdBedrag=null)
Parameters:
  • $AccountName (string | null)

  • $AmountType (string | null)

  • $BIC (string | null)

  • $Currency (string | null)

  • $IBAN (string | null)

  • $Reference (string | null)

  • $TransactionNumber (string | null)

  • $Value (string | null)

public Firstred\PostNL\Entity\Amount::setAmountType($AmountType=null)
Set amount type.
Parameters:
  • $AmountType (string | int | null)

Returns:

static

public Firstred\PostNL\Entity\Amount::xmlSerialize($writer)
Return a serializable array for the XMLWriter.
Parameters:
  • $writer (Sabre\Xml\Writer)

Returns:

void

Throws:

\InvalidArgumentException