Automattic\WooCommerce\Internal\Admin\Settings\PaymentsProviders\WooPayments
WooPaymentsService::get_nox_profile
Get the entire stored NOX profile data.
Method of the class: WooPaymentsService{}
No Hooks.
Returns
array. The stored NOX profile.
Usage
// private - for code of main (parent) class only $result = $this->get_nox_profile(): array;
WooPaymentsService::get_nox_profile() WooPaymentsService::get nox profile code WC 11.1.2
private function get_nox_profile(): array {
$nox_profile = $this->proxy->call_function( 'get_option', self::NOX_PROFILE_OPTION_KEY, array() );
if ( ! is_array( $nox_profile ) ) {
return array();
}
return $nox_profile;
}