12 if ( empty( $stagedData[
'country'] ) ) {
15 $country = $stagedData[
'country'];
17 if ( array_key_exists( $country, self::$nonStandardCodes ) ) {
18 $country = self::$nonStandardCodes[$country];
21 $unstagedData[
'country'] = $country;
static isValidIsoCode( $country)
Checks to see if $country is a valid iso 3166-1 country code.
static string[] $nonStandardCodes
unstage(GatewayType $adapter, $stagedData, &$unstagedData)
Used to mark any class which implements an unstaging method, for transforming data returned by a paym...