class BankAccountCode

Constants

FORMATS

Methods

__construct(string $swift)

Create a new bank account code instance.

string
countryCode()

Get the country code.

string
swift()

Get the swift.

string
canonicalize(string $swift)

Canonicalize the given value.

string
format()

Get the matching regular expression format.

void
validate()

Validate the given value.

string
__toString()

Cast the object to an reinitialisable string.

Details

at line 48
__construct(string $swift)

Create a new bank account code instance.

Parameters

string $swift

at line 60
string countryCode()

Get the country code.

Return Value

string

at line 70
string swift()

Get the swift.

Return Value

string

at line 81
protected string canonicalize(string $swift)

Canonicalize the given value.

Parameters

string $swift

Return Value

string

at line 91
protected string format()

Get the matching regular expression format.

Return Value

string

at line 101
protected void validate()

Validate the given value.

Return Value

void

at line 121
string __toString()

Cast the object to an reinitialisable string.

Return Value

string