Property | Type | Description | |
---|---|---|---|
$api_client | WC_Connect_API_Client | ||
$logger | WC_Connect_Logger | ||
$service_settings_store | WC_Connect_Service_Settings_Store |
Method | Description | |
---|---|---|
__construct ( WC_Connect_Service_Settings_Store $service_settings_store, WC_Connect_API_Client $api_client, WC_Connect_Logger $logger ) | ||
fetch_payment_methods_from_connect_server ( ) | ||
get_payment_methods ( ) |
Method | Description | |
---|---|---|
get_payment_methods_from_response_body ( $response_body ) | ||
potentially_update_selected_payment_method_from_payment_methods ( $payment_methods ) | ||
update_payment_methods ( $payment_methods ) |
public __construct ( WC_Connect_Service_Settings_Store $service_settings_store, WC_Connect_API_Client $api_client, WC_Connect_Logger $logger ) | ||
$service_settings_store | WC_Connect_Service_Settings_Store | |
$api_client | WC_Connect_API_Client | |
$logger | WC_Connect_Logger |
public fetch_payment_methods_from_connect_server ( ) |
protected get_payment_methods_from_response_body ( $response_body ) |
protected potentially_update_selected_payment_method_from_payment_methods ( $payment_methods ) |
protected WC_Connect_API_Client $api_client | ||
return | WC_Connect_API_Client |