II. Save withdraw settings in Admin Payment Gateways

/**
 * Save the gateway settings in admin
 *
 * @since 1.0.0
 */
public function save_gateway() {
	if ( isset( $_POST['wpjobster_save_' . $this->unique_slug] ) ) {
		
		// Enable Withdraw, Withdrawal save settings start
		
		$enable = trim( $_POST['wpjobster_sample_withdrawal_enable'] );
		if ( $enable == 'both' ) {
			update_option( 'wpjobster_enable_sample_withdraw_automatic', 'yes' );
			update_option( 'wpjobster_enable_sample_withdraw', 'yes' );
		} elseif ( $enable == 'automatic' ) {
			update_option( 'wpjobster_enable_sample_withdraw_automatic', 'yes' );
			update_option( 'wpjobster_enable_sample_withdraw', 'no' );
		} elseif ( $enable == 'manual' ) {
			update_option( 'wpjobster_enable_sample_withdraw_automatic', 'no' );
			update_option( 'wpjobster_enable_sample_withdraw', 'yes' );
		} else {
			update_option( 'wpjobster_enable_sample_withdraw_automatic', 'no' );
			update_option( 'wpjobster_enable_sample_withdraw', 'no' );
		}
		update_option( 'wpjobster_sample_withdrawal_enable', trim( $_POST['wpjobster_sample_withdrawal_enable'] ) );
		update_option( 'wpjobster_sample_withdraw_enablesandbox', trim( $_POST['wpjobster_sample_withdraw_enablesandbox'] ) );
		update_option( 'wpjobster_sample_client_id', trim( $_POST['wpjobster_sample_client_id'] ) );
		update_option( 'wpjobster_sample_secret_key', trim( $_POST['wpjobster_sample_secret_key'] ) );
		
		//Withdrawal save settings end
	}
}